annotate -rNNN for a removed file
John Arbash Meinel
john at arbash-meinel.com
Mon Jan 31 22:19:03 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/31/2011 3:00 PM, Eli Zaretskii wrote:
> Is the history of a file that was "bzr remove"d gone forever?
>
> There was a file src/strftime.c in the Emacs repository, which was
> removed in revision 103037. I wanted to "bzr annotate" it, so I typed
>
> bzr annotate -r103030 src/strftime.c
>
> The result was an error message:
>
> bzr: ERROR: src/strftime.c is not versioned.
>
> Do I expect too much? Is there indeed not way of annotating a deleted
> file?
>
>
>
Worst case you might try:
bzr revert -r 103036
bzr annotate src/strftime.c
There may be a bug in bzr about not looking up the file based on the
revision you supplied (only looking in the wt, for example). So the
above is just meant as a workaround.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1HNVcACgkQJdeBCYSNAAPmkACfTc/K/YBrgR+WltvHYMbH7iAm
QpwAnjEwBVRV6R0yql0JkEJJ/wjYWTUf
=yOaC
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list