Cutting the SVN origin
Philippe Lhoste
PhiLho at GMX.net
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.
E:\Dev\PhiLhoSoft
> bzr info Lua
Standalone tree (format: rich-root-pack)
Location:
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:
E:\Dev\PhiLhoSoft
> bzr init _Lua
Standalone tree (format: pack-0.92)
Location:
branch root: _Lua
E:\Dev\PhiLhoSoft
> cd _Lua
E:\Dev\PhiLhoSoft\_Lua
> bzr pull ..\Lua
bzr: ERROR: KnitPackRepository('file:///E:/Dev/PhiLhoSoft/_Lua/.bzr/repository/')
is not compatible with
KnitPackRepository('file:///E:/Dev/PhiLhoSoft/Lua/.bzr/repository/')
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
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
More information about the bazaar
mailing list