CVS---Concurrent Versions System. Node: modules

prev UPAdministrative files NEXTWrappers

C.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'.

  • Alias modules The simplest kind of module
  • Regular modules
  • Ampersand modules
  • Excluding directories Excluding directories from a module
  • Module options Regular and ampersand modules can take options
  • prev UPAdministrative files NEXTWrappers