Comments on: Migrate SourceForge CVS repository to git http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/?utm_source=rss&utm_medium=rss&utm_campaign=migrate-sourceforge-cvs-repository-to-git by Oliver Gorwits Sun, 29 Dec 2013 17:47:01 +0000 hourly 1 http://wordpress.org/?v=3.6.1 By: Benj http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-326 Benj Mon, 28 Jan 2013 12:30:58 +0000 http://blog.gorwits.me.uk/?p=529#comment-326 To make it work, I had to use the following path instream of the path mentionned in your post.

/home/git/p/PROJECTNAME/MOUNTPOINT.git/

Some additional information here : https://sourceforge.net/p/allura/tickets/5470/

Cheers,
Benj

]]>
By: Rafa Carmona http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-304 Rafa Carmona Sat, 17 Nov 2012 10:43:16 +0000 http://blog.gorwits.me.uk/?p=529#comment-304 Fantastic job! Thank you.

]]>
By: Dale Visser http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-61 Dale Visser Sun, 01 Jan 2012 21:29:21 +0000 http://blog.gorwits.me.uk/?p=529#comment-61 Oliver:

Thanks! I realized shortly after I posted my question that your command-line example in the post showed precisely how to do it. I have 3 cvs repositories to convert over to Git, and my largest and most important one is completed already, thanks to your detailed post.

Best regards,
Dale

]]>
By: Oliver Gorwits http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-60 Oliver Gorwits Sat, 24 Dec 2011 16:19:22 +0000 http://blog.gorwits.me.uk/?p=529#comment-60 Hi Dale,

I recommend getting the latest code for the cvs2git tool as shown in my post, and then the options file will be in the downloaded tree, as shown.

However in the Ubuntu cvs2svn package (which I guess is what you installed) then you’ll find an example file in /usr/share/doc/cvs2svn/examples/ which you should copy and edit.

Good luck with your migration!

]]>
By: Dale Visser http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-59 Dale Visser Sat, 24 Dec 2011 15:22:42 +0000 http://blog.gorwits.me.uk/?p=529#comment-59 Nice post!

Where can I find the cvs2git default options file? I installed it using “sudo apt-get install” on Ubuntu.

]]>
By: Oliver Gorwits http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-16 Oliver Gorwits Thu, 11 Aug 2011 11:23:55 +0000 http://blog.gorwits.me.uk/?p=529#comment-16 Thanks for the feedback :-)

Sorry to hear you had a little trouble with the commit messages. I suggest you SSH in and cat the git config file and check it really has the right command in, with all the quoting, escaping etc. For instance the one we have on the Netdisco project looks like:


showrev = "t=%s; printf 'http://netdisco.git.sourceforge.net/git/gitweb.cgi?p=netdisco/netdisco;a=commitdiff;h=%%s' $t; echo;echo; git show -C $t; echo"

]]>
By: Ricardo Fabbri http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-15 Ricardo Fabbri Wed, 10 Aug 2011 03:14:05 +0000 http://blog.gorwits.me.uk/?p=529#comment-15 Hi,

this helped me a lot to setup my SF git repos. However, my hook script is still giving me problems displaying the right gitweb URL. If I use the line you suggested for showrev, then I get a truncated URL in the email, i.e., nothing beyond the h= , like so:

http://PROJECTNAME.git.sourceforge.net/git/gitweb.cgi?p=PROJECTNAME/REPONAME;a=commitdiff;h=

Thanks for this great material.

]]>