Friday 14 October 2011

cvs to github

Following How to export revision history from mercurial or git to cvs?

On hanuman

I created an id file git_authors mapping cvs ids to github name, email format for all contributors:
timp=Tim Pizey<timp@paneris.org>
then create a repository on github (melati in this example, I already have uploaded my ssh public key for this machine)
git cvsimport -d /usr/cvsroot -C melati -r cvs -k -A ../../git_authors melati
cd melati
echo A jdbc to java object relational mapping system. 1999-2011 > README.txt
git add README.txt
git commit -m "Initial" README.txt
git remote add origin git@github.com:timp21337/melati.git
git push -u origin master
See https://github.com/timp21337/melati.

2 comments:

  1. Sourceforge cvs to git HOWTO: http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/ by @olwy so probably OK

    ReplyDelete
  2. Do the conversion once then

    git shortlog -se

    reconfigure git_authors and do it again.

    ReplyDelete