Concurrent Versions System
The Concurrent Versions System (CVS) is a version control system: it keeps track of all changes to a (software) project and allows several distant developers to collaborate. It is popular in the free software world and is itself released under the copyleft license GPL.
Features
CVS is a client-server system: the server keeps the current version of the project and its history, and clients connect to the server in order to check out a complete copy of the project, and then later check in their changes. Typically, client and server connect over the internet, but it is also possible to use the client and the server on the same machine, in order to keep track of the version history of a project with only local developers. The server normally runs on Unix, while CVS clients are available for all major platforms.
Several clients may check out copies of the project concurrently. When they later check in their changes, the server attempts to merge them. If this fails, for instance because two clients attempted to change the same line in a certain file, then the server denies the second checkin operation and informs the client about the conflict, which needs to be resolved by hand. If the checkin operation succeeds, then all involved file's version numbers are automatically increased, and a user supplied description line, the date and the author's name are stored in the log files.
Clients can also compare different versions of files, request a complete history of changes, or check out a historical "snapshot" of the project at a given date or revision number. Many open source projects allow "anonymous read access", meaning that the clients are allowed to check out and compare versions without a password; only the checkin of changes requires a password in these scenarios.
It is possible to maintain different "branches" of a project with CVS. For instance, a released version of the software project could be maintained in a branch which is only used for bug fixes, while the currently developed version with major changes and new features is stored in a separate branch.
History
CVS was based on an earlier file-based versioning system called RCS which is still in use. The project based approach and conflict resolution algorithms of CVS were first conceived by Dick Grune in December 1986. The code that eventually evolved into the current version of CVS was started by Brian Berliner in April 1989, later to be helped by Jeff Polk and many other contributors. Nowadays, the CVS code is maintained by a group of volunteers.
References and external links:
- Per Cederqvist et. al. : CVS Concurrent Versions System, http://www.cvshome.org/docs/manual/cvs.html
- Karl Fogel: Open Source Development with CVS, http://cvsbook.red-bean.com/cvsbook.html
- CVS web site: http://www.cvshome.org