[MERGE] deprecated EmptyTree

Aaron Bentley aaron.bentley at utoronto.ca
Thu Jul 20 15:32:57 BST 2006


-----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.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEv5QZ0F+nu1YWqI0RAg03AJ0UeFjQB1iGhQI04V1kjw6ySqK7BgCfX16O
EPDI+V0NApB6DItpYgTJPwE=
=j7eh
-----END PGP SIGNATURE-----




More information about the bazaar mailing list