| 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) |
10.6.1 Telling CVS to watch certain files
To enable the watch features, you first specify that certain files are to be watched.
- Command: cvs watch on [
-lR] [files]... -
Specify that developers should run
cvs editbefore editing files. CVS will create working copies of files read-only, to remind developers to run thecvs editcommand before working on them.If files includes the name of a directory, CVS arranges to watch all files added to the corresponding repository directory, and sets a default for files added in the future; this allows the user to set notification policies on a per-directory basis. The contents of the directory are processed recursively, unless the
-loption is given. The-Roption can be used to force recursion if the-loption is set in ‘~/.cvsrc’ (see section A.3 Default options and the ~/.cvsrc file).If files is omitted, it defaults to the current directory.
- Command: cvs watch off [
-lR] [files]... -
Do not create files read-only on checkout; thus, developers will not be reminded to use
cvs editandcvs unedit.The files and options are processed as for
cvs watch on.
| ISBN 0954161718 | Version Management with CVS - the CVS manual | See the print edition |