本文介绍了如何将CVS导入到git scm?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$ b / usr / lib为了导入一个CVS模块的修订版, / git-core / git-cvsimport -a -i -pr,revisionname -k -v -d:pserver:user@xxx:2401 / srv / cvs / rootname modulename
它工作了一段时间,然后我得到像cvsps这样的错误。如何确定cvsps错误是什么?
解决方案使用这种方法并使用 code $ c $
cvs2git 是一个可用于将CVS存储库迁移到新版本控制工具(包括git)的工具。
示例用法:
cvs2git \ --blobfile = cvs2git -tmp / git-blob.dat \ --dumpfile = cvs2git -tmp / git-dump.dat \ --username = cvs2git \ / path / to / cvs / repo
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:2401/srv/cvs/rootname modulenameIt works for a while and then I get something like cvsps got an error. How do I determine what the cvsps error is?
解决方案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
更多推荐
如何将CVS导入到git scm?
发布评论