This area is an archive and is no longer actively maintained. Information found on this page is likely to be extremely out of date and therefore highly inaccurate. We recommend the Ximbiot - CVS Wiki for up-to-date information about CVS and its associtated tools.

If you do find anything useful on this page that is not yet in the Ximbiot - CVS Wiki and you have the time, please add it!

CVShome.org

Converting to CVS from Another Version Control System


Discussion:

First, decide if you want to preserve the version history from one system to the next. The simplest thing is to just keep the old history in the old system and put the new history in the new system. However, if it is worth it to move the history, it isn't necessarily all that hard.

If you are converting from RCS or some other system which can export RCS files, just move the RCS files into the CVS repository (there is a section in the Cederqvist which explains this in more detail).

Another approach is to write a script which invokes both CVS and the other system using the usual scripting interfaces (command line or whatever), and checks each revision out of the old system and into the new system. This way you do not have to delve into the revision storage format of each system. There are several samples of this type of script in the contrib section of the CVS source distribution.


Return to The Information Page List.

Derek Price, CVS developer and technical editor of Essential CVS (Essentials line from O'Reilly Press) , and others offer consulting services and training through Ximbiot.