Branch for format 7

John Arbash Meinel john at arbash-meinel.com
Mon Jan 16 02:01:17 GMT 2006


Robert Collins wrote:
> On Sun, 2006-01-08 at 23:46 -0600, John Arbash Meinel wrote:
> 
>>After hearing from Robert that we are going to try and support more
>>branch versions, I went ahead and created a format-7 branch, available at:
>>http://bzr.arbash-meinel.com/branches/bzr/format-7/
>>
>>Basically, this includes my bound branch changes (which only need a new
>>branch format so that old clients don't commit to bound branches). The
>>changes to use '.bzr/basis-inventory' instead of using
>>'.bzr/basis-inventory-<revision-id>', and then change to remove
>>'.bzr/ancestry.weave'.
>>
>>This at least fit the short list of things Robert thought were worth
>>pulling together into a micro format bump.
>>
>>It might be nice to have it change to '.bzr/checkout/basis-inventory',
>>and some of the other changes like that. But I think those are better
>>handled after the 'storage' branch lands. And I haven't worked on it
>>enough to know if Robert and Aaron think it is ready.
>>What I saw looked reasonable, so if they want, I suppose I could merge
>>that, and extend it so that we have the real separation of directories.
>>(Though they might want to continue using merged directories until they
>>get comfortable with the internal split).
> 
> 
> My branch-formats work is coming along now. The way I ended up doing it
> is to have a 'BzrBranchFormat' class which represents a single format. A
> format has a format_string, an initialize routine and an open routine.
> The BzrBranchFormat class has static methods to find a format for a URL,
> - which gives you the right open routine - and the right initialization
> routine if you want to mirror the branch in the same format.
> 
> When we start the split into checkout, branch and repository, I figure
> we'll leave .bzr/branch-format behind with a value of (say) 9, and
> introduce new format values for each of the other three elements. This
> work will then chain into the format logic for other elements.
> 
> I'd like to make the format-7 work depend on the branch-formats branch,
> so that there is no loss of ability to create format 6 branches.
> 
> Cheers,
> Rob

I'm happy to have format-7 use the branch-format code. I didn't think we
would release an official format-7 branch until we had it.

I intentionally changed the format string in my branch, so that it
shouldn't conflict with whatever the official release becomes.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060115/710b40df/attachment.pgp 


More information about the bazaar mailing list