[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
12. Keyword substitution
As long as you edit source files inside a working directory you can always find out the state of your files via ‘cvs status’ and ‘cvs log’. But as soon as you export the files from your development environment it becomes harder to identify which revisions they are.
CVS can use a mechanism known as keyword
substitution (or keyword expansion) to help
identifying the files. Embedded strings of the form
$keyword$
and
$keyword:…$
in a file are replaced
with strings of the form
$keyword:value$
whenever you obtain
a new revision of the file.
12.1 Keyword List | Keywords | |
12.2 Using keywords | ||
12.3 Avoiding substitution | ||
12.4 Substitution modes | ||
12.5 Problems with the $Log$ keyword. |