将项目从 RCS 迁移到 git? [英] Migrate project from RCS to git?

查看:19
本文介绍了将项目从 RCS 迁移到 git?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 20 年历史的项目 我想从 RCS 迁移到 git,而不会丢失历史记录.所有网页都表明唯一的真正途径是通过 CVS.但是经过一个小时的谷歌搜索和尝试不同的脚本,我还没有找到任何成功将我的 RCS 项目树转换为 CVS 的东西.我希望 Stackoverflow 的好人知道什么是真正有效的,而不是那些声称有效而无效的方法.

I have a 20-year-old project that I would like to migrate from RCS to git, without losing the history. All web pages suggest that the One True Path is through CVS. But after an hour of Googling and trying different scripts, I have yet to find anything that successfully converts my RCS project tree to CVS. I'm hoping the good people at Stackoverflow will know what actually works, as opposed to what is claimed to work and doesn't.

(我使用本地 SO 搜索和 Google 搜索搜索 Stackoverflow,但如果数据库中有有用的答案,我就错过了.)

(I searched Stackoverflow using both the native SO search and a Google search, but if there's a helpful answer in the database, I missed it.)

更新:rcs-fast-export 工具"noreferrer">http://git.oblomov.eu/rcs-fast-export 于 2009 年 4 月 14 日修复,这个版本似乎对我有用.此工具将 直接 转换为 git,而无需中间 CVS.谢谢朱塞佩和雅库布!!!

UPDATE: The rcs-fast-export tool at http://git.oblomov.eu/rcs-fast-export was repaired on 14 April 2009, and this version seems to work for me. This tool converts straight to git with no intermediate CVS. Thanks Giuseppe and Jakub!!!

我仍然记得的没用的事情:

Things that did not work that I still remember:

  • CVS 源代码的 contrib 目录中附带的 rcs-to-cvs 脚本

  • The rcs-to-cvs script that ships in the contrib directory of the CVS sources

http 上的 rcs-fast-export 工具://git.oblomov.eu/rcs-fast-export 2010 年 4 月 13 日之前的版本

The rcs-fast-export tool at http://git.oblomov.eu/rcs-fast-export in versions before 13 April 2010

rcs2cvs 脚本位于名为CVS-RCS-HOW-TO Document for Linux"的文档中

The rcs2cvs script found in a document called "CVS-RCS- HOW-TO Document for Linux"

推荐答案

参见 InterfacesFrontendsAndTools 页面Git Wiki,在工具"、与其他修订控制系统的交互"、其他"中.在那里你会找到一个描述和一个链接到 rcs-fast-export (gitweb) Giuseppe "Oblomov" Bilotta 的 Ruby 脚本.

See InterfacesFrontendsAndTools page on Git Wiki, in "Tools", "Interaction with other Revision Control Systems", "Other". There you would find a description and a link to rcs-fast-export (gitweb) Ruby script by Giuseppe "Oblomov" Bilotta.

(网络搜索还可以找到 Ohloh 页面和所提及项目的公告).

这篇关于将项目从 RCS 迁移到 git?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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