gitcvsgit-cvs

How to import CVS to git scm?


In order to import a revision of a CVS module, I am using:

/usr/lib/git-core/git-cvsimport -a -i -p r,revisionname -k -v -d :pserver:user@xxx.com:2401/srv/cvs/rootname modulename

It works for a while and then I get something like cvsps got an error. How do I determine what the cvsps error is?


Solution

  • Gave up on this approach and have used cvs2git.

    The cvs2git is a tool that can be used to migrate CVS repositories to newer version control tools, including git.

    Sample usage:

    cvs2git \
        --blobfile=cvs2git-tmp/git-blob.dat \
        --dumpfile=cvs2git-tmp/git-dump.dat \
        --username=cvs2git \
        /path/to/cvs/repo