Whole document tree
8. History browsingOnce you have used CVS to store a version control history--what files have changed when, how, and by whom, there are a variety of mechanisms for looking through the history.
8.1 Log messagesWhenever you commit a file you specify a log message.
To look through the log messages which have been
specified for every revision which has been committed,
use the
8.2 The history database
You can use the history file (see section C.11 The history file) to
log various CVS actions. To retrieve the
information from the history file, use the Note: you can control what is logged to this file by using the `LogHistory' keyword in the `CVSROOT/config' file (see section C.13 The CVSROOT/config configuration file).
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 section C.7 Loginfo).
To log commits, checkouts, exports, and tags,
respectively, you can also use the `-i',
`-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
The `taginfo' file defines programs to execute
when someone executes a Here is an example of using taginfo to log tag and rtag commands. In the taginfo file put:
Where `/usr/local/cvsroot/CVSROOT/loggit' contains the following script:
8.4 Annotate command
The options to
This document was generated on September, 1 2005 using texi2html |