Setting a watch -- CVS---Concurrent Versions System



Next: Getting Notified Up: Watches Top: Top

6.6.1. Telling CVS to watch certain files

To enable the watch features, you first specify that certain files are to be watched.

cvs watch on [-l] files ... -- Command
Specify that developers should run cvs edit before editing files. CVS will create working copies of files read-only, to remind developers to run the cvs edit command 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 -l option is given.

If files is omitted, it defaults to the current directory.

cvs watch off [-l] files ... -- Command
Do not provide notification about work on files. CVS will create working copies of files read-write.

The files and -l arguments are processed as for cvs watch on.



Next: Getting Notified Up: Watches Top: Top