"bzr branch" and repository.

Martin Pool mbp at sourcefrog.net
Thu Apr 20 10:50:07 BST 2006


On 20 Apr 2006, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Hi,
> 
> I have a branch using the 0.7 format.
> 
> I want to put this branch into a repository. So I did
> 
> $ bzr init-repo bzr-repo
> $ bzr branch ~/path/to/my/old/branch bzr-repo/branch
> 
> It actually created a branch in bzr-repo/branch, but it's using the old 
> format, and is independant from the repository !
> 
> (It seems "bzr init" + "bzr pull" does the trick, but it's not very 
> intuitive ...)

This is the current intended behaviour, but I grant that it is a bit
confusing. 

The reason is that bzr branch copies across in the original format, so
in this case cannot insert them into the repository.  

-- 
Martin




More information about the bazaar mailing list