qannotate: crash when trying to annotate a deleted file.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Confirmed
|
High
|
Unassigned |
Bug Description
This could be a resurrection of https:/
I get this when trying to annotate a file that has been deleted, i.e. it is not in the working tree.
The commandline annotate can annotate the revision I'm interested in just fine.
As a workaround I branched the revision I'm interested in and qannotated that.
Steps to reproduce using the qbzr source from the above mentioned bug:
Open qlog in qbzr branch.
go to rev 240
Right click on "_ext.cpp => lib/_ext.cpp", click on annotate.
What happens: It crashes (using bzr and qbzr trunks):
Wed 2011-06-29 01:47:35 +0200
0.108 bazaar version: 2.4.0dev5
0.109 bzr arguments: [u'qlog']
0.148 looking for plugins in /home/amanica/
0.361 looking for plugins in /stf_fast/
0.361 Plugin name launchpad already loaded
0.363 looking for plugins in /usr/lib/
0.363 Plugin name launchpad already loaded
0.363 Plugin name weave_fmt already loaded
0.363 Plugin name news_merge already loaded
0.363 Plugin name changelog_merge already loaded
0.363 Plugin name netrc_credentia
0.363 Plugin name bash_completion already loaded
0.370 encoding stdout as sys.stdout encoding 'UTF-8'
0.716 opening working tree '/stf_fast/
12.398 Traceback (most recent call last):
File "/home/
f(*args, **kargs)
File "/home/
super(
File "/home/
if self.has_
File "/home/
for file_id in self.file_ids]
File "/stf_fast/
result = unbound(self, *args, **kwargs)
File "/stf_fast/
raise errors.
NoSuchId: The file id "_ext.cpp-
12.398 Traceback (most recent call last):
File "/home/
f(*args, **kargs)
File "/home/
super(
File "/home/
if self.has_
File "/home/
for file_id in self.file_ids]
File "/stf_fast/
result = unbound(self, *args, **kwargs)
File "/stf_fast/
raise errors.
NoSuchId: The file id "_ext.cpp-
description: | updated |
Based on traceback I see we're trying to get the file from workig tree. Apparetly deleted file is not here.
Could you say, please, have your tree had uncommitted changes?