[BUG?] revisiontree's root node has no revision attribute set

Robert Collins robertc at robertcollins.net
Thu Jul 27 05:49:25 BST 2006


For a RevisionTree, for any entry you can use 'entry.revision' to get
the last changed revision.

We dont currently set that for the root node.

I think a reasonable change for this is to start by setting it to the
revision_id of the revision tree.

We could also change commit to start recording changes to the root the
same way it records changes to other directories.

I'm seeking a +1 on the former reasonably urgently, so that the dirstate
serialiser can do something sane, and for the latter, while I think its
a good idea its not urgent - it only has to be done, or something
similar, for trees when the root node logic comes in.

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/20060727/107eaa34/attachment.pgp 


More information about the bazaar mailing list