[BUNDLE] Give a revision-id to get_revision_delta.

Robert Collins robertc at robertcollins.net
Thu Jun 8 09:40:54 BST 2006


On Wed, 2006-06-07 at 21:09 +0200, Johan Rydberg wrote:
> Robert Collins <robertc at robertcollins.net> writes:
> 
> >> IMHO, it's quite sane for Branch methods to take revnos, especially
> >> convenience methods like this one.  You've also changed the semantics
> >> slightly, because the leftmost parent may not be the mainline predecessor.
> >> 
> >> If you want to add a method to Repository instead of changing this one,
> >> that would be fine with me.
> >
> > Given that we normalise history now, and are looking at removing the
> > revision-history file contents, is this much of an issue ? 
> >
> > I agree about branch methods taking revno being fine though.
> 
> Here's a new bundle.  Branch.get_revision_delta still takes a revno,
> but uses the Repository.get_revision_delta method.

Wont this barf on revno==1 ?

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: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060608/b0102332/attachment.pgp 


More information about the bazaar mailing list