[Bug 153191] command to get annotation for one line

Marius Kruger amanic at gmail.com
Thu Oct 18 05:28:10 BST 2007


On 10/16/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
>
> 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
>

nah, I think it should be its own revision spec-like option maybe l or L
eg.
bzr annotate -L344 foo.py
bzr annotate -L344..400 foo.py
bzr log -L344 foo.py
bzr log -L344..400 foo.py
bzr log -L344..400 -r51.. foo.py

regards
marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20071018/d61e8488/attachment-0001.htm 


More information about the bazaar mailing list