svn2git – How To – svn2git not found
I have tried to move a svn repo to git thismorning and have been having great trouble.
Firstly, I work from a Mac. This is not by choice, but was my only option. It was that or paper and pen..
Now I have been working here for a while I have a linux build in the pipeline, soon as debts are paid to the company. I will migrate to Ubuntu, YAY!
So why are you here? Because you are struggling to get your svn over to git. Well mine is currently running, lets hope it works.
You tried to
but that failed. Well that gem is no longer available on github. You can build your own though.
cd svn2git
rake gem
sudo gem install pkg/svn2git…
The next bit got me, it says to
BUT, command could not be found.
I found it in /var/gems/1.8/bin/svn2git, so try
This worked for me. You can include an authors file and all that hooha, but you will find if you provide an authors file, you must include ALL authors. My repo is about 6 months old and has seen many contributors, I doubt I will get them all. If you forget one, it fails and you must start again with the author added into the authors file.
Less details here http://github.com/jcoglan/svn2git/tree/master
Related Posts
In: Server Config, Web Development · Tagged with: git
on November 26, 2009 at 10:50 am
Permalink
sudo gem install svn2git –source http://gemcutter.org (taken from http://github.com/nirvdrum/svn2git)
ln -s /var/lib/gems/1.8/bin/svn2git /usr/bin/svn2git
Should make things easier.
on November 26, 2009 at 10:50 am
Permalink
@Lloyd
woops should be sudo ln -s /var…