Whats the difference between annotate and tree.annotate_iter ?

Robert Collins robertc at robertcollins.net
Fri Apr 27 07:34:25 BST 2007


On Fri, 2007-04-27 at 00:40 -0400, Aaron Bentley wrote:
> 
> > Really though I think the API needed for the text ui should be more
> > properly on Tree, so that we can find bugs in annotations with
> different
> > tree representations via our parameterised tests.
> 
> I don't understand what you mean.  Even if we put annotate_file on
> Tree,
> it wouldn't vary.  What varies is the implementation of
> Tree.iter_annotate, so that's what we should be testing.  And we
> already
> can.

Well annotate_file seems to be doing mapping to revisions and other
things that iter_annotate doesn't. Naively I'd expect that to be of use
to gannotate.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070427/dcbdd385/attachment.pgp 


More information about the bazaar mailing list