'bzr annotate PATH' after 'bzr update -rX' fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Grab the branch attached to comment #3: <http://
$ wget http://
$ tar xzf branch_
$ cd branch_551758
Update to r2, and try annotating a file present in r2 (and so in our working tree of r2), but not present in the branch tip:
$ bzr update -r2
+N inno/trx/
+N inno/trx/trx.c
-D inno/trx/
-D inno/trx/trx.c
All changes applied successfully.
Updated to revision 2 of branch /tmp/branch_551758
$ bzr annotate inno/trx/trx.c
bzr: ERROR: The file id "trx.c-
Workaround: specify -rX to annotate to match the revision passed to update -rX:
$ bzr annotate inno/trx/trx.c -r2
1 vasil.d | int a;
2 vasil.d | int b;
summary: |
- "bzr blame -rX" and "bzr update -rX" fail: supported? + 'bzr annotate PATH' after 'bzr update -rX' fails |
description: | updated |
tags: | added: annotate |
tags: | added: check-for-breezy |
Hi Guilhem,
If you want you can use <https:/ /answers. edge.launchpad. net/bzr/ +addquestion> which goes into a more question-oriented workflow and lets us then create or link to particular bugs.
bzr blame and bzr update should both work in the way you expected: annotation should tell you about the contents of the file as it existed in that history, and update should give you a working tree looking at revision 2.
I believe the issue with annotate is bug 537442.
The problem with update is surprising to me. Is the branch where this occurs public?