watch
Synopsis: watch on|off|add|remove [OPTIONS] [FILES]
- Alternate names – None
- Requires – Working copy, repository
- Changes – Watch list in repository
Sets a watch on one or more files. Unlike most CVS commands, watch
requires a further subcommand to do something useful. (See also
watchers, edit, editors, and unedit, and
users.)
Subcommands:
- on – Declares that the files are being watched. This means that they
are created read-only on checkout, and users should do cvs edit to make
them read-write (and notify any watchers that the file is now being
edited). Turning on a watch does not add you to the watch list for any
files. (See
watch add and watch remove for that.)
- off – Opposite of watch on. Declares that the files are no longer
being watched.
- add – Adds you to the list of watchers for this file. You are notified
when someone commits or runs cvs edit or cvs unedit (but see the -a
option).
- remove – Opposite of watch add. Removes you from the list of watchers
for this file.
Options (for use with any watch subcommand). All three options have the
same meanings as for edit: