updated: Re: [MERGE] trees - add get_parent_ids

Robert Collins robertc at robertcollins.net
Fri Jun 16 16:06:11 BST 2006


On Fri, 2006-06-16 at 10:01 -0500, John Arbash Meinel wrote:
> 
> while self.parents.count(NULL_REVISION):
>   del self.parents[self.parents.index(NULL_REVISION)]
> 
> Though could also 'pop' self.parents.pop(self.parents.index(...

This is all redudnant with the change to the api Aaron and I agreed on.
New patch coming.

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/20060617/505e09fc/attachment.pgp 


More information about the bazaar mailing list