- publishing free software manuals
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)

Get a printed copy>>>

6 Recursive behavior

Almost all of the subcommands of CVS work recursively when you specify a directory as an argument. For instance, consider this directory structure: If ‘tc’ is the current working directory, the following is true:

If no arguments are given to update it will update all files in the current working directory and all its subdirectories. In other words, ‘.’ is a default argument to update. This is also true for most of the CVS subcommands, not only the update command.

The recursive behavior of the CVS subcommands can be turned off with the ‘-l’ option. Conversely, the ‘-R’ option can be used to force recursion if ‘-l’ is specified in ‘~/.cvsrc’ (see section A.3 Default options and the ~/.cvsrc file).

$ cvs update -l         # Don't update files in subdirectories
ISBN 0954161718Version Management with CVS - the CVS manualSee the print edition