[MERGE] Conversion to rich-root updates inventory sha1s

Aaron Bentley aaron at aaronbentley.com
Mon Apr 28 03:02:18 BST 2008


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

Hi all,

This patch is a follow-up of my earlier patch to make conversion from
non-rich-root to rich-root *work*.  Now it's time to make it right.

First, I moved the fetch tests out of test_interrepository, into their
own file.

Next, I ensured that the inventory_sha1 field of revisions is always
updated by Repository.add_revision, not just some of the time.

Finally, I ensured that all relevant converters and bundle formats were
using Repository.add_revision.

This means that a revision's inventory_sha1 should always match the
actual stored inventory's sha1.

Work remains to make this conversion fast, and to allow revisions
updated via reconcile.

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

iD8DBQFIFTAq0F+nu1YWqI0RAqYyAJ9MqD/rW+NZdj+WxPCZO/N1Vqah9ACfY6y2
6TNhaTGRSoTc0qNxq6qvTWs=
=RVSq
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-it-right-3390.patch
Type: text/x-diff
Size: 46717 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080427/72d78526/attachment-0002.bin 


More information about the bazaar mailing list