Previous: , Up: History browsing   [Contents][Index]


8.3 User-defined logging

You can customize CVS to log various kinds of actions, in whatever manner you choose. These mechanisms operate by executing a script at various times. The script might append a message to a file listing the information and the programmer who created it, or send mail to a group of developers, or, perhaps, post a message to a particular newsgroup. To log commits, use the loginfo file (see loginfo). To log tags, use the taginfo file (see taginfo). To log checkouts, exports, and tags, respectively, you can also use the ‘-o’, ‘-e’, and ‘-t’ options in the modules file. For a more flexible way of giving notifications to various users, which requires less in the way of keeping centralized scripts up to date, use the cvs watch add command (see Getting Notified); this command is useful even if you are not using cvs watch on.