Next: [[cvs: Regular modules#Regular modules|Regular modules]], Up: [[cvs: The modules file#The modules file|modules]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|

----

==== 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, `checkout` creates 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

This document was generated on a sunny day using [http://www.nongnu.org/texi2html/ texi2html].