[MERGE] Bundle refactoring

Aaron Bentley aaron.bentley at utoronto.ca
Tue Jun 20 04:00:23 BST 2006


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

Hi all,

This patch refactors the bundle code to move the 0.7-specific
BundleReader into bundle.serializer.v07, renames bundle.bundle_reader to
bundle_bundle_data, and transplants BundleReader.get_revision onto
BundleInfo, while removing BundleReader.get_bundle entirely.

These changes let us abstract out BundleReader.  Instead, we call
read_bundle (or read_bundle_from_url) which return a BundleInfo, then
call install_bundle(BundleInfo).  And finally, we pull or merge
BundleInfo.target.

Since we're now talking about getting 0.9 out soon, I wanted to get
these API changes done before then.

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

iD8DBQFEl2TH0F+nu1YWqI0RApPsAJ9IYGlWr5sJ6HsweHWRSgsBnGagnQCghF0n
/WMUFJ70T7rTTPgrvAbtgYo=
=TDck
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundle-refactoring.patch
Type: text/x-patch
Size: 101960 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060619/e29fcd13/attachment.bin 


More information about the bazaar mailing list