I am migrating several projects from SVN to Git, and I am using Git\'s \'svn clone\' feature. I am trying to run the following:
git svn clone --stdlayout --a
Run git --version
and ensure that you are on Version 2.4+. I can't find the link right now, but back in 2.2.x and before, there was a bug in the Git SVN code that would cause it to fail at various points through large repository migrations. I ended up working with the Git developers on IRC and using a patch someone posted to the Git Mailing List, and got it working. That patch has since been merged and released, though. Ensure that you have a recent Git and a recent SVN. You can also resume a git svn clone
just by running git svn fetch
inside the directory. Also, --verbose
helps see more context on error.