[Bug 153191] command to get annotation for one line

Aaron Bentley aaron.bentley at utoronto.ca
Tue Oct 16 17:59:58 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vincent Ladeuil wrote:
>>>>>> "aaron" == Aaron Bentley <aaron.bentley at utoronto.ca> writes:
> 
>     aaron> Martin Pool wrote:
>     >> Public bug reported:
>     >> 
>     >> It seems common to just want the annotation for a particular known line,
>     >> with eg
>     >> 
>     >> bzr annotate foo.py +344
>     >> 
>     >> and that should just show the log entry for the relevant revision.  You
>     >> could usefully bind this into an editor.
> 
>     aaron> Alternatively, it could be a revision spec:
> 
>     aaron> bzr log -r origin:foo.py+344
> 
> Err, foo.py+344 is a legal file name.

Yes, but only Tom Lord uses + in filenames. :-P

Well, we could do: "origin:344:foo.py".  That way, the filename can
include colons.  But it would be nice to do foo.py:344, because many
tools spit out line number info in that order.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFO4O0F+nu1YWqI0RAlVOAJ0aORtchD08jPw4F/KnjlVTuvhCoQCeIZ6e
WzAayMSUJ/OqDFdhZYEevL8=
=2PkW
-----END PGP SIGNATURE-----



More information about the bazaar mailing list