branch-formats status

Robert Collins robertc at robertcollins.net
Fri Jan 20 09:16:43 GMT 2006


The branch-formats branch is approaching mergability. Key features done:
 * Branch initalization and construction are now separate, and factored
out of Branch itself.
 * Creating any supported format is trivially possible
 * Plugins can add supported formats (or disable built in formats)
 * all branch formats are tested against the branch implementation
tests. I suspect that more tests need to be moved into this framework -
but that can be done incrementally.
 * Convenience routines for testing branches on readonly media have been
created. (See TestCaseWithTransport).
 * branch upgrades on sftp are about 80% ready - the shutil calls have
been removed, just need to do the remaining direct file accesses and
we're done.

key TODOs before merging:
 * update bzr selftest to allow selection of the default readwrite
transport for TestCaseWithTransport so that I can see-for-myself upgrade
working on sftp. (Having a hardcoded test is not desirable IMO because
we're just double guessing the transport interface in that case.) Dunno,
I may change my mind on this ;)

Theres plenty to follow up on this after the core merges - making the
upgrade logic more flexible and keyed to the formats, but I think that
can be a second phase.

This will help folk doing ForeignBranches too I think.

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/20060120/14a4e86b/attachment.pgp 


More information about the bazaar mailing list