[BUG?] revisiontree's root node has no revision attribute set
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Jul 27 14:46:04 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
> I think for the nested tree work, we would want it to have the revision
> id of the last commit. But that makes it different from all the other
> directory nodes.
For nested by-reference trees, we'll need a new node type, say
ChildRoot. So in the child, the root would be a normal directory, but
in the parent, it would be a ChildRoot, and its .revision could come
from WorkingTree.last_revision.
I don't think we need consistency between the ChildRoot.revision and the
InventoryDirectory.revision, and I'd prefer to make the
InventoryDirectory for the root behave like all other InventoryDirectories.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEyMOc0F+nu1YWqI0RAhhuAJ43BZdUV2p36/0OXoyBTW5U3aKFnACfV54J
5qivXQlKadFyV1t5Jq4Kso4=
=m9qq
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list