Can "bzr annotate" be sped up?

Marius Kruger amanic at gmail.com
Fri Jun 17 15:40:10 UTC 2011


On 17 June 2011 13:04, John Arbash Meinel <john at arbash-meinel.com> wrote:
...
>  a) In my testing, most files have at least 1 line from the very
>    beginning of history. Usually it is one of the Copyright lines at
>    the top of the file.
>    So to get a full annotation generally means walking all of history
>    anyway.
>
>  b) It would help the most for "bzr log -r:annotate:file:12345" where
>    you only care about a specific line. Since you can stop once you've
>    settled on the revision introducing that line.
...
> Overall, *I* haven't pursued this one because I didn't feel like the win
> would be big. qannotate could use it to incrementally update the lines,
> which could be pretty. But 'bzr annotate' itself always does all lines.

So maybe a workaround for this lot-of-revisions case can be giving
annotate/qannotate a line number range to make it give answers faster
for the lines Eli cares about.

-- 
<>< Marius ><>



More information about the bazaar mailing list