将项目从 RCS 迁移到 git?

编程入门 行业动态 更新时间:2024-10-21 09:48:23
本文介绍了将项目从 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">git.oblomov.eu/rcs-fast-export 于 2009 年 4 月 14 日修复,这个版本似乎对我有用.此工具将 直接 转换为 git,而无需中间 CVS.谢谢朱塞佩和雅库布!!!

UPDATE: The rcs-fast-export tool at 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 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?

本文发布于:2023-11-15 23:38:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598980.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   RCS   git

发布评论

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

>www.elefans.com

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