Name
watch
Synopsis
watch { { on | off } | { add | remove } [ -aaction
] } [ -l | -R ]file
...
The watch
command controls
CVS’s edit tracking mechanism. By default, CVS
operates in its concurrent development mode, allowing any user to
edit any file at any time. CVS includes this
watch
mechanism to support developers who would
rather be notified of edits made by others proactively than discover
them when doing an update
. The
CVSROOT/notify
file determines how notifications
are performed.
Table 17-27 shows the watch
subcommands and their uses.
Table 17-27. watch subcommands
Subcommand |
Description |
---|---|
|
Start watching files |
|
Turn off watching |
|
Turn on watching |
|
Stop watching files |
The standard meanings of the common client options
-l
and -R
apply. The only
other option that can be used with the watch
command is -a
action
.
The -a
option is used in conjunction with one of
the actions listed in Table 17-28.
Table 17-28. watch Actions
Action |
Description |
---|---|
|
All of the following. |
|
A user has committed changes. |
|
A user ran |
|
Don’t watch. Used by the |
|
A user ran |
See also edit
, editors
,
unedit
, and watchers
.
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.