next up previous
Next: Defining the Environment Variable Up: Simple Project Management Using Previous: What is CVS?

Setting Up a Repository

The central location for all the source code revisions and management is called the ``repository''. The CVS manual recommends that you provide approximately three times the disk space of the current source tree, if one already exists.

To check disk space, use the ``quota -v'' command in conjunction with ``du -sk''. See the Hunter Creech lab document Managing Your PCSE Account Disk Space and File Permissions for more information on disk space management.

You will need to create a directory in your account space specifically designated to be the CVS root directory (i.e. $HOME/cvsroot )2. You then initialize this directory by executing:

cvs -d $HOME/cvsroot init

This will create a subdirectory in this directory called CVSROOT which will contain a number of administrative files. We will not discuss many of these here; more information is available in the CVS manual (several locations of which are specified at the end of this document) and in the cvs(5) man page.




Michael S. Bland
2000-11-22