TLDR; Using Visual SVN, svnserve and local SVN repositories I was able to easily convert SVN to Git on Windows.
I hit every error possible when converting SVN to GIT. I eventually figured out the simplest way to avoid errors during the conversion process.
Migrate SVN to Git from local file repositories
To migrate from SVN to GIT I found it most reliable to use a local svn server, having migrated from remote svn using an svn dump file. then using svnserve to allow conversion using git svn over the svn protocol.
- have a local svn server I’ve been using Visual SVN Server
- I migrated remote svn repos via a dump file http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.dump.html
- imported the dump file into Visual SVN
- running
svnserve -d --foreground -r .
in the foot folder containing the svn repos
svnserve -d --foreground -r .
- then I can use git svn to clone the repo with the svn protocol
- “git svn clone svn://127.0.0.1/my-repo -s”
- then I can add a remote server and push it to my local repo
- git remote add origin http://mygitserver/Bonobo.Git.Server/my-repo.git
- git push origin master -u
This avoids all errors like cpan core, svn file format versions above 1.6, malformed xml over http, slow http connections.
This just works.