Skip to content
rolfl edited this page Aug 1, 2011 · 1 revision

Process for migrating JDOM from CVS to GitHub

Make a temporary working folder.

mkdir movejdom
cd movejdom

Set up CVS access

setenv CVSROOT :pserver:[email protected]:/home/cvspublic
cvs login  (and log in).

Get the CVS repo in to git format.

git cvsimport jdom -C core
git cvsimport jdom-test -C test
git cvsimport jdom-contrib -C contrib

Then stitch the three repositories in to one repo:

Download and install the git-stitch-repo from CPAN.org (http://search.cpan.org/~book/Git-FastExport-0.07/script/git-stitch-repo)

Make the target git repository:

mkdir jdom.git
cd jdom.git
git init
git-stitch-repo ../core:core ../test:test ../contrib:contrib | git fast-import

Push the repository to GitHub

git remote rm origin
git remote add origin [email protected]:hunterhacker/jdom.git
git push -u origin master
Clone this wiki locally