Previous: Controlling Keyword Expansion, Up: Keyword Substitution (RCS Keywords)
These are all the dollar-sign-delimited keywords that CVS recognizes. Following is a list of the keyword, a brief description, and an example of its expanded form:
$Author: jrandom $
$Date: 1999/08/23 18:21:13 $
$Header: /usr/local/newrepos/myproj/hello.c,v 1.1 1999/06/01 \
03:21:13 jrandom Exp qsmith $
$Id: hello.c,v 1.1 1999/06/01 03:21:13 jrandom Exp qsmith $
$Log: hello.c,v $ Revision 1.12 1999/07/19 06:12:43 jrandom
say hello in Aramaic
Any text preceding the $Log$ keyword on the same line will be prepended to the downward expansions too; this is so that if you use it in a comment in a program source file, all of the expansion is commented, too.
$Locker: qsmith $
$Name: release_1_14 $
$RCSfile: hello.c,v $
$Revision: 1.1 $
$Source: /usr/local/newrepos/myproj/hello.c,v $
$State: Exp $