| 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.1 Alias modules
Alias modules are the simplest kind of module:
mname -a aliases...-
This represents the simplest way of defining a module
mname. The ‘-a’ flags the definition as a
simple alias: CVS will treat any use of mname (as
a command argument) as if the list of names
aliases had been specified instead.
aliases may contain either other module names or
paths. When you use paths in aliases,
checkoutcreates all intermediate directories in the working directory, just as if the path had been specified explicitly in the CVS arguments.
For example, if the modules file contains:
amodule -a first-dir
then the following two commands are equivalent:
$ cvs co amodule $ cvs co first-dir
and they each would provide output such as:
cvs checkout: Updating first-dir U first-dir/file1 U first-dir/file2 cvs checkout: Updating first-dir/sdir U first-dir/sdir/sfile
| ISBN 0954161718 | Version Management with CVS - the CVS manual | See the print edition |