qrevert: regression in trunk - 0.17.0dev

Bug #483052 reported by IWATA Hidetaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Critical
Alexander Belchenko

Bug Description

qbzr version : 0.17.0dev (revno:1094)
When trying to revert changes made by 'merge --uncommitted', qrevert throws AttributeError.

Traceback is:
> Traceback (most recent call last):
> File "~/.bazaar/plugins/qbzr/lib/trace.py", line 291, in reports_exception_decorate
> return f(*args, **kargs)
> File "~/.bazaar/plugins/qbzr/lib/revert.py", line 163, in initial_load
> if self.initial_selected_list is None and not self.pending_merges:
> AttributeError: pending_merges

To reproduce:
> bzr init A
> bzr branch A B
> cd A
> echo foo > foo.txt
> bzr add
> cd ../B
> bzr merge --uncommitted
> bzr qrevert

Related branches

Revision history for this message
Alexander Belchenko (bialix) wrote :

Actually qrevert is completely broken even without pending merges.

Changed in qbzr:
status: New → Confirmed
importance: Undecided → High
milestone: none → 0.17
importance: High → Critical
assignee: nobody → Alexander Belchenko (bialix)
status: Confirmed → Fix Released
summary: - qrevert: crash when reverting changes made by 'merge --uncommitted'(In
- trunk - 0.17.0dev)
+ qrevert: regression in trunk - 0.17.0dev
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.