How to import CVS to git scm?

后端 未结 4 1128
感情败类
感情败类 2020-12-18 09:09

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/cv         


        
4条回答
  •  无人及你
    2020-12-18 09:43

    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
    

提交回复
热议问题