Skip to content

Instantly share code, notes, and snippets.

@lincerely
Last active January 12, 2023 09:10
Show Gist options
  • Save lincerely/6a0e42c45511343cb148e18de013efef to your computer and use it in GitHub Desktop.
Save lincerely/6a0e42c45511343cb148e18de013efef to your computer and use it in GitHub Desktop.
source forge cvs to git

convert sourceforge cvs root to git repo

This method doesn't require cvs at all. Instead, a python script called cvs2svn is needed.

using project "rltiles" as example:

# download cvs repo
rsync -av rsync://rltiles.cvs.sourceforge.net/cvsroot/rltiles/\* rltiles-cvs

# convert to svn repo
cvs2svn -s rltiles-svn rltiles-cvs/rltiles

# convert to git repo
git svn clone --no-metadata --stdlayout file://`pwd`/rltiles-svn/ rltiles-git

reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment