[MERGE] Shelf 1 / 5: TreeTransform serialization

Robert Collins robertc at robertcollins.net
Fri Oct 17 01:01:43 BST 2008


On Thu, 2008-10-16 at 19:43 -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi all,
> 
> This patch implements TreeTransform serialization so that we can
> reconstruct a preview tree for unshelving purposes.
> 
> A serialized TreeTransform is similar to a changeset, which is a staple
> of other VCSes.  However, a serialized TreeTransform can refer to
> unversioned, as well as versioned files.  This could for the basis of an
> undo command in the future.
> 
> Serialization uses single-parent mpdiffs for delta compression, packs
> for record separation, bencode for metadata storage.  It's all
> suspiciously like bundle format 4.

Just a design question: where do these get stored (could/should they go
in a repository?)

-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/20081017/2c81445a/attachment.pgp 


More information about the bazaar mailing list