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!

Converting to CVS

Converting to CVS

This page is about converting to CVS from another version control system.

The first decision to make is whether to try to preserve the version history from one system to the next. In many ways 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 you think 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 slightly more detail in case that doesn't make any sense to you).

The other usual 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.

Here are a few such scripts. The disclaimers are that these scripts may not get everything right, they may not work with newer versions of the tools in question, and so on.

  • SCCS - see the description of sccs2rcs at the bottom of our SCCS page.
  • PVCS

[Cyclic Home]

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.