[MERGE] deprecated EmptyTree

Robert Collins robertc at robertcollins.net
Thu Jul 20 23:55:06 BST 2006


On Thu, 2006-07-20 at 10:32 -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Robert Collins wrote:
> > This patch deprecated EmptyTree, replacing all uses of it with a
> > RevisionTree.
> 
> I like the concept.  I don't like using Inventory this way, because it
> produces an Inventory with a tree root, and the NULL_REVISION doesn't
> have a tree root.
> 
> In nested-trees, I'm using Inventory(None) to produce an inventory with
> no tree root, and using Inventory() to produce an inventory whose root
> is TREE_ROOT.

Can you expand on this? When does a tree get a root?

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/20060721/feb6d7db/attachment.pgp 


More information about the bazaar mailing list