CVS

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

CVS (Concurrent Versions System) is a version control system that builds on and expands RCS. CVS enables users to record the history of source files and documents.

Note
CVS tends to be used less nowadays in favor of later generation VCSs, such as git.

Installation

USE flags

USE flags for dev-vcs/cvs Concurrent Versions System - source code revision control tools

crypt Add support for encryption -- using mcrypt or gpg where applicable
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
kerberos Add kerberos support
nls Add Native Language Support (using gettext - GNU locale utilities)
pam Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
server Enable server support

Emerge

Installing cvs is as easy as running an emerge command:

root #emerge --ask dev-vcs/cvs
Note
If planning on using CVS for serving source code to clients be sure to emerge it with the server USE flag set.

Configuration

The default configuration file for CVS should be located in a file called ~/.cvsrc the user's home directory. Currently installing dev-vcs/cvs through Portage does not create a default configuration file, therefore any specific configuration must be done by the user.

Usage

Checkout a CVS module by using the following command:

user $cvs checkout <module_name>

See also

External resources