如何将CVS导入到git scm?

编程入门 行业动态 更新时间:2024-10-25 00:31:31
本文介绍了如何将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 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?

本文发布于:2023-08-02 15:26:24,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何将   导入到   scm   CVS   git

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!