How can I convert svn repo with fastimport?

John Arbash Meinel john at arbash-meinel.com
Mon Oct 26 02:03:32 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> Hi Ian,
> 
> I need some advice about fast-export-from-svn.
> 
> I can't convert fork of FTE from SVN to bzr using bzr-svn because of bug
> https://bugs.launchpad.net/bzr-svn/+bug/460392
> 
> So I've decided to use fast-import. Unfortunately it does not work either:
> 
> C:\work\OSS\FTE\Pinigin>bzr fast-export-from-svn fte.svn fte.fi
> bzr: ERROR: svn.fs missing. Please install Python Subversion 1.4 or
> later and try again.
> 
> Because I'm using standalone bzr.exe there is not possible to install
> anything there. Why fast-export-from-cvs can't use svn libs which used
> by bzr-svn?

I believe there are 2 front-ends for exporting from svn. If you look in
the 'bzr-fastimport' plugin, there should be an "svn-fast-export.c" and
an "svn-fast-export.py". The latter is known to be a little bit easier
to get going (because it is python), but can fail under certain
circumstances. It also explicitly depends on the svn python bindings,
which Jelmer disliked enough to write his own.

The '.c' file requires compiling, which I believe means you would need
the svn development libraries... (you may already have them if you were
building the installers)

I believe in subvertpy 0.7.0+ Jelmer wrote a new fast-export script that
does directly work via his subvertpy bindings. This is being bundled in
the 2.1.0b* series, but *not* the 2.0.* series. (Initially I tried
bundling 0.7.0 and that broke the build, hence 0.7.1 was release shortly
after. That told me it wasn't quite stable enough to be part of the
stable series for now at least.)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrlA3QACgkQJdeBCYSNAAOYHACfekUhwXCKxyTk3P0jwWPhFwP+
72kAn2oFuuuG5L6qHgpxpZpQGHUHKRjc
=GOMJ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list