How to migrate project from RCS to git? (SOLVED)
Posted
by Norman Ramsey
on Stack Overflow
See other posts from Stack Overflow
or by Norman Ramsey
Published on 2009-10-25T02:01:08Z
Indexed on
2010/04/15
4:33 UTC
Read the original article
Hit count: 423
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.
(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.)
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:
The
rcs-to-cvs
script that ships in thecontrib
directory of the CVS sourcesThe
rcs-fast-export
tool at http://git.oblomov.eu/rcs-fast-export in versions before 13 April 2010The
rcs2cvs
script found in a document called "CVS-RCS- HOW-TO Document for Linux"
© Stack Overflow or respective owner