[MERGE] Shelf 1 / 5: TreeTransform serialization

Aaron Bentley aaron at aaronbentley.com
Fri Oct 17 00:43:32 BST 2008


-----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.

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

iEYEARECAAYFAkj30aQACgkQ0F+nu1YWqI3EbwCfcEseSSIdEdAXl0u/YB4NNwfY
OKEAmwVSNArAOaXsLEBA5KbqvFrhCI4U
=ZCVR
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serialize-transform-21.patch
Type: text/x-diff
Size: 25483 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081016/0ed75b0f/attachment-0001.bin 


More information about the bazaar mailing list