| Version Management with CVS - the CVS manual by Per Cederqvist et al. Paperback (6"x9"), 216 pages, 8 figures ISBN 0954161718 RRP £19.95 ($29.95) |
B.1 The modules file
The ‘modules’ file records your definitions of
names for collections of source code. CVS will
use these definitions if you use CVS to update the
modules file (use normal commands like add,
commit, etc).
The ‘modules’ file may contain blank lines and comments (lines beginning with ‘#’) as well as module definitions. Long lines can be continued on the next line by specifying a backslash (‘\’) as the last character on the line.
There are three basic types of modules: alias modules, regular modules, and ampersand modules. The difference between them is the way that they map files in the repository to files in the working directory. In all of the following examples, the top-level repository contains a directory called ‘first-dir’, which contains two files, ‘file1’ and ‘file2’, and a directory ‘sdir’. ‘first-dir/sdir’ contains a file ‘sfile’.
| ISBN 0954161718 | Version Management with CVS - the CVS manual | See the print edition |