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

Aaron Bentley aaron.bentley at utoronto.ca
Fri Jul 28 14:33:16 BST 2006


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

Robert Collins wrote:
> On Thu, 2006-07-27 at 09:46 -0400, Aaron Bentley wrote:
> I think its revision is separate to the wt last-revision. We need two
> revision values:
> 1) to record the time its name and parent-id and type was set in this
> tree
> 2) to record the revision id of the subtree - which is the
> WT.last_revision.
> 
> I've been modelling this as ChildRoot.contents == (2), and
> childRoot.revision is updated when anything, including the contents
> change - this is consistent with files and symlinks.

This sounds reasonable.  To be clear: this changes every time the
last-revision in the subtree changes?

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

iD8DBQFEyhIc0F+nu1YWqI0RAmnWAJ9CWRuqOuijLkP9x/L2BCygLhDtfgCgiCDl
3cs5xSuEnTLstT6atcI/9TM=
=z1Nn
-----END PGP SIGNATURE-----




More information about the bazaar mailing list