sigy sigy - 3 months ago 36
Git Question

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?

Answer

I ended up using git svn clone. After all I didn't need any special treatment for my very simple repository so that it did the trick. I had totally forgot about this possibility in the first place.