[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C.3.10 Logging watch commands

The `postwatch' file defines programs to execute after any command (for instance, watch, edit, unedit, or commit) modifies any `CVS/fileattr' file in the repository (see section Mechanisms to track who is editing files). The `postwatch' file has the standard form for script hooks (see section The Trigger Scripts), where each line is a regular expression followed by a command to execute. It supports the ALL and DEFAULT keywords.

The `postwatch' file supports no format strings other than the common ones (see section The common syntax), but it is worth noting that the %c format string may not be replaced as you might expect. Client runs of edit and unedit can sometimes skip contacting the CVS server and cache the notification of the file attribute change to be sent the next time the client contacts the server for whatever other reason,


This document was generated on September, 14 2007 using texi2html 1.76.