Converting from svn to bzr?

Patrick van der Velde petrikvandervelde at gmail.com
Sun Feb 22 08:27:38 GMT 2009


Hi All

I've been trying to convert an old SVN repository to a bzr branch
however I'm not having much luck. I grabbed the latest release (bzr
1.12.1) and installed that successfully. With that I tried to use the
bzr-svn command by entering the command: bzr svn-import PATH_TO_REPO
trunk
Unfortunately that failed with a windows error message saying:
bzr.exe - Entry point not found: The procedure entry point
__lc_collate_cp_func could not be located in the dynamic link library
msvcrt.dll

And the stack trace was:

D:\documents\petrik\support\backup\software\mcs>bzr svn-import
svn://localhost/Research/PhdThesis/software/trunk trunk
bzr: ERROR: exceptions.ImportError: Unable to load subvertpy
extensions - did you build it?

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 896, in run_bzr_catch_errors
  File "bzrlib\commands.pyo", line 842, in run_bzr
  File "bzrlib\commands.pyo", line 542, in run_argv_aliases
  File "bzrlib\commands.pyo", line 856, in ignore_pipe
  File "C:/Program Files/Bazaar/plugins\svn\commands.py", line 74, in run
  File "C:/Program Files/Bazaar/plugins\svn\convert.py", line 37, in <module>
  File "subvertpy\__init__.pyo", line 97, in <module>
ImportError: Unable to load subvertpy extensions - did you build it?

bzr 1.12 on python 2.5.2 (win32)
arguments: ['bzr', 'svn-import',
'svn://localhost/Research/PhdThesis/software/trunk', 'trunk']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools             D:\Documents and Settings\Patrick\Application
Data\bazaar\2.0\plugins\bzrtools [1.5]
  fastimport           C:\Program Files\Bazaar\plugins\fastimport [0.8dev]
  launchpad            C:\Program Files\Bazaar\plugins\launchpad [unknown]
  netrc_credential_store C:\Program
Files\Bazaar\plugins\netrc_credential_store [unknown]
  qbzr                 C:\Program Files\Bazaar\plugins\qbzr [0.9.8]
  svn                  C:\Program Files\Bazaar\plugins\svn [0.5]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.


After that I tried bzr-fastimport but that confused me completely. I
managed to grab the latest version and add that to the bzr plugin
directory but I can't seem to figure out how to get it started.The
section of the help file explaining how to start it is way over my
head and if I use the same command line as in the manual windows
simply complains that the exporter I mentioned isn't a known
application.

So if anybody has some suggestions on how to approach this that would
be very helpful :)

Thanks heaps

Petrik



More information about the bazaar mailing list