plain/rich/subtree differences
Robert Collins
robertc at robertcollins.net
Tue Jan 8 03:50:55 GMT 2008
On Thu, 2008-01-03 at 16:07 -0500, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert Collins wrote:
> > heres what I understand the differences to be:
> > subtree:
> > / is versioned and has a fileid that may be TREE_ROOT
> > paths other than / can be 'tree-reference' kinds
> > rich-roots:
> > / is versioned has has a fileid that may be TREE_ROOT
> > plain:
> > / has no last-modified revision and must have the id TREE_ROOT
>
> Confirm.
I've just been debugging a problem in my new format, and it turns out
this was wrong...
Specifically:
plain(xml5) supports unique fileids at / - so / has no last-modified
revision and may have any file id.
Another note for implementors of serialisers, the in memory inventory
always has a .revision for the root at commit time. So you need to just
ignore the revision when serialising in a non-rich-root format.
-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: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080108/83b741d7/attachment.pgp
More information about the bazaar
mailing list