[MERGE REVIEW] Use InventoryDirectory to represent tree root

John Arbash Meinel john at arbash-meinel.com
Tue Aug 8 00:50:57 BST 2006


Aaron Bentley wrote:
> John Arbash Meinel wrote:

...

>>> I know you still have a disagreement about that
>>> change, but is there any other way that you can not have a root? (Maybe
>>> you can delete it without adding a new one).
> 
> You could possibly have it in a working tree.  But the Inventory
> serializers will prevent such a tree from being committed.
> 
>>> But being able to have files and no root would be a Tree invariant
>>> violation, right? Otherwise the files have nowhere to be based from.
> 
> Right.
> 
> Aaron

So you are saying that the 'read()' serializers can create a tree of
this type. Because it is possible for the XML to be missing the root
entry, right?
(Though in the v5 inventory format the root entry is extracted from the
<inventory> tag, so it *isn't* possible to not have a root entry.).

What did you need to add that you wanted to create a real root node in
the XML? Or was it just to remove some special cases?

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060807/e709eb49/attachment.pgp 


More information about the bazaar mailing list