Contents / Previous / Next


checkout: Check Out Sources for Editing

With checkout you create a working directory containing copies of the source files specified by MODULES:
 checkout [options] modules...
You must execute `checkout' before using most of the other CVS commands,
since most of them operate on your working directory.

The MODULES are either symbolic names for some collection of source directories and files,
or paths to directories or files in the repository.
The symbolic names are defined in the `modules' file.

The top-level directory created is always added to the directory where `checkout' is invoked.

Running `checkout' on a directory that was already built by a prior `checkout' is also permitted.
In this case it acts similar as update (it is better to use update directly).

Useful Checkout Options

`-P'
     Prune empty directories.

`-r TAG'
     Use revision TAG. 

`-A'
     Reset any sticky tags, dates, etc. .

`-d DIR'
     Create a directory called DIR for the working files, instead of
     using the module name.