[MERGE REVIEW] Use InventoryDirectory to represent tree root

Aaron Bentley aaron.bentley at utoronto.ca
Sun Aug 6 23:02:02 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Here's another hopefully-uncontroversial patch split out from the
nested-trees branch.  Michael Ellerman's Shelf plugin was invaluable for
this work.

It uses InventoryDirectory to represent root entries, rather than
RootEntry, which is now deprecated.  This means that the inventory kind
of a root entry is 'directory', not 'root_directory'.

Inventory.is_root is provided to determine whether an inventory id is
the root inventory id, instead of checking the file kind.

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

iD8DBQFE1mbZ0F+nu1YWqI0RAtCNAJ9eaMqpV8nCPD31QfXesQbdoyxmWQCfbROS
KrxsuPH85ih2QfUWGuWxU3g=
=j03v
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-special-root.patch
Type: text/x-patch
Size: 12219 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060806/174d93aa/attachment.bin 


More information about the bazaar mailing list