Cutting the SVN origin

Philippe Lhoste PhiLho at
Fri Apr 10 16:21:19 BST 2009

I have converted a local SVN repository (from TortoiseSVN, so on Windows, all on local PC) 
to bzr. IIRC, I had an error message but after all it worked well.

 > bzr info Lua
Standalone tree (format: rich-root-pack)
   branch root: Lua

Related branches:
   parent branch: SVNRepositories/Lua/trunk

I tried to push it to Launchpad, I had an error.
I would like:
- To cut the umbilical cord: no need to reference SVN
- To use LP for this repo

So what is the best way to convert a repository from one format to the other. I don't care 
if I loose some meta-data in the process...
I tried:

 > bzr init _Lua
Standalone tree (format: pack-0.92)
   branch root: _Lua

 > cd _Lua

 > bzr pull ..\Lua
bzr: ERROR: KnitPackRepository('file:///E:/Dev/PhiLhoSoft/_Lua/.bzr/repository/')
is not compatible with
different rich-root support

OK. I see the --development-rich-root option to init (which I don't have, still having 
1.11, I wait for final 1.14) "can convert data to and from pack-0.92 (and anything 
compatible with pack-0.92) format repositories" but I don't know if it is able to do this.

I hope I don't have to extract each revision (only 17, but even so!) and commit them to do 
this conversion...

Philippe Lhoste
--  (near) Paris -- France
--  --  --  --  --  --  --  --  --  --  --  --  --  --

More information about the bazaar mailing list