qdiff: refresh crashes after a commit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Confirmed
|
High
|
Unassigned |
Bug Description
I had opened a diff from either bzr explorer's main toolbar or the commit dialog box.
Then, after committing and pushing, I hit refresh and got this:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "bzrlib\tree.pyo", line 1045, in iter_changes
File "bzrlib\
File "bzrlib\tree.pyo", line 201, in iter_entries_by_dir
File "bzrlib\
File "bzrlib\
AssertionError: parent <email address hidden> has disappeared from ['<email address hidden>']
bzr 2.0.4 on python 2.5.4 (win32)
arguments: ['C:\\Program Files\\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
summary: |
- qdiff: refresh crashes after a commit. + qdiff: refresh crashes after a commit |
We need to reload the parent tree on refresh if the new tree is the working tree, and there was no -r arg.