Search code examples
gitsvnsvn2git

svn2git hangs and outputs nothing


I am trying to convert some old svn repros to git using svn2git under Windows. I execute the following command from my git bash

svn2git https://repo.example.com/repos/my_repro --username user --notags --authors ~/authors.txt --verbose

But nothing happens. I see that a ruby process gets spawned and that this spawns cmd.exe which in turn spawns a new git svn init instance. However, despite the --verbose option I see no output. The mentioned processes do not consume any CPU time and when capturing network traffic I don't see any traffic to the SVN server.

What am I doing wrong?


Solution

  • There are pleny tools called svn2git, the probably best one is the KDE one from https://github.com/svn-all-fast-export/svn2git. I strongly recommend using that svn2git tool. It is the best I know available out there and it is very flexible in what you can do with its rules files.

    From your question I see you are not using the one I mentioned.

    If you are not 100% about the history of your repository, svneverever from http://blog.hartwork.org/?p=763 is a great tool to investigate the history of an SVN repository when migrating it to Git.