Bzr-svn and bzr repositories.

Andrew Bennetts andrew at canonical.com
Tue Apr 1 08:29:27 BST 2008


Kevin Kubasik wrote:
> Hey all! First, I'd like to introduce myself, my name is Kevin
> Kubasik, I'm a member of The Gnome Foundation and a generally Ubuntuy
> guy (although always looking to offload packaging duties if someones
> interested ;). I met some of you guys at PyCon in Chicago, but for the
> rest of you, thats the closest I got to a hello ;)

Hi!  It was great to meet you at PyCon.

[...]
> mkdir beagle-repo
> cd beagle-repo
> bzr init-repo .
> bzr branch svn+ssh://svn.gnome.org/svn/beagle/trunk beagle-trunk
> 
> Gives me:
> bzr: ERROR: Repository
> KnitPackRepository('file:///home/kkubasik/mysrc/beagle-repo/.bzr/repository/')
> is not compatible with repository
> SvnRepository('svn+ssh://svn.gnome.org/svn/beagle')

This is actually answered in the FAQ that comes with bzr-svn.  You need a
repository in "rich-root-pack" format.  "Rich roots" are a feature that aren't
supported in the current default format (although they should be in the next
default format), but bzr-svn is bleeding-edge enough to need them now :)

So you should have done "bzr init-repo --rich-root-pack .".  You can change the
format after creation with "bzr upgrade --rich-root-pack".

-Andrew.




More information about the bazaar mailing list