qannotate: Error when trying to annotate a deleted file.

Bug #419790 reported by Gary van der Merwe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Gary van der Merwe

Bug Description

Steps to reproduce:

Open qlog in qbzr branch.
go to rev 240
Right click on "_ext.cpp => lib/_ext.cpp", click on annotate.

What happens: You get and error.
What should happen: See annotate.

From .bzr.log:

139.504 Traceback (most recent call last):
  File "/home/garyvdm/qbzr/wd/qbzr/lib/trace.py", line 273, in reports_exception_decorate
    return f(*args, **kargs)
  File "/home/garyvdm/qbzr/wd/qbzr/lib/annotate.py", line 324, in initial_load
    self.annotate(self.tree, self.fileId, self.path)
  File "/home/garyvdm/qbzr/wd/qbzr/lib/annotate.py", line 401, in annotate
    self.log_list.load_branch(self.branch, [self.fileId])
  File "/home/garyvdm/qbzr/wd/qbzr/lib/logwidget.py", line 142, in load_branch
    self.graph_provider.open_branch(branch, fileids, tree)
  File "/home/garyvdm/qbzr/wd/qbzr/lib/loggraphprovider.py", line 276, in open_branch
    kind = branch.basis_tree().kind(file_id)
  File "/usr/lib/python2.6/dist-packages/bzrlib/revisiontree.py", line 148, in kind
    return self._inventory[file_id].kind
  File "/usr/lib/python2.6/dist-packages/bzrlib/inventory.py", line 1233, in __getitem__
    raise errors.NoSuchId(self, file_id)
NoSuchId: The file id "_ext.cpp-20071223174633-d2tjggdxlg3hlbd7-1" is not present in the tree <Inventory object at ae81e8c, contents="...">.

Related branches

Changed in qbzr:
importance: Undecided → Medium
milestone: none → 0.14.1
status: New → Confirmed
Changed in qbzr:
assignee: nobody → Gary van der Merwe (garyvdm)
status: Confirmed → Fix Committed
Changed in qbzr:
status: Fix Committed → Fix Released
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.