如何将CVS导入到git scm? [英] How to import CVS to git scm?

查看:204
本文介绍了如何将CVS导入到git scm?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


$ b

  / usr / lib为了导入一个CVS模块的修订版,
/ git-core / git-cvsimport -a -i -pr,revisionname -k -v -d:pserver:user@xxx.com: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.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?

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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆