New Emacs Bazaar Repository II

Ian Clatworthy ian.clatworthy at internode.on.net
Wed Feb 25 00:52:04 GMT 2009


John Arbash Meinel wrote:
> 
> ...
> 
>> Secondly, I am somewhat confused about why 0.92 pack branches are the
>> default branch type in a 1.9 format repository.  Everything worked the
>> same, but you would get warnings when stacking on the branches.  To my
>> limited experience that seems like a very odd default.  When pulling
>> branches into a 1.9 formatted repository it seems like you should get
>> 1.9 format branches.
> 
> 
> This was brought up recently. And it falls back to "repositories are a
> storage optimization" which isn't a great answer, but is why it is that way.
> 
> We don't have a default branch format for a given repository format. We
> just have a "default branch format" and a "default repository format".
> Doing "bzr init-repo --XXX" sets the format of the repo, but that has no
> effect on the branches inside.
> 
> While it arguably *could*, there are other concerns like "bzr branch"
> into that repo. Should it be upgrading the branch format automatically?

I would expect so, yes.

> Doesn't that break "don't upgrade unless explicitly requested so as to
> maintain inter-version compatibility" ?

I consider branching into a repository that I've set the format on
to be explicit enough. :-)

Ian C.



More information about the bazaar mailing list