sigy
sigy

Reputation: 2500

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?

Upvotes: 2

Views: 1343

Answers (2)

sigy
sigy

Reputation: 2500

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.

I used the procedure described in Pro Git

Upvotes: 0

Vampire
Vampire

Reputation: 38734

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.

Upvotes: 1

Related Questions