version 1.39, 2006/04/27 09:49:50 |
version 1.40, 2006/04/27 09:53:31 |
|
|
character. |
character. |
.El |
.El |
.Sh KEYWORD SUBSTITUTION |
.Sh KEYWORD SUBSTITUTION |
As long as you edit source files inside a working directory you |
As long as source files are edited inside a working directory, |
can always find out the state of your files via the |
their state can be determined using the |
.Xr cvs 1 |
.Xr cvs 1 |
.Ic status |
.Ic status |
or |
or |
.Ic log |
.Ic log |
commands, but as soon as files get exported from |
commands, but as soon as files get exported from |
your local working copy, it becomes harder to identify which |
a local working copy, it becomes harder to identify which |
revisions they are. |
revisions they are. |
.Pp |
.Pp |
.Nm |
.Nm |
and |
and |
.Xr cvs 1 |
.Xr cvs 1 |
can use a mechanism known as |
use a mechanism known as |
.Sq keyword substitution |
.Sq keyword substitution |
to help identify the files. |
to help identify the files. |
Embedded strings of the form $keyword$ and $keyword:...$ in a file |
Embedded strings of the form $keyword$ and $keyword:...$ in a file |
are replaced with strings of the form $keyword: value$ whenever you |
are replaced with strings of the form $keyword: value$ whenever |
obtain a new revision of the file. |
a new revision of the file is obtained. |
The possible keywords are as follows: |
The possible keywords are as follows: |
.Bl -tag -width "XrevisionXX" -offset "XXX" |
.Bl -tag -width "XrevisionXX" -offset "XXX" |
.It $\&Author$ |
.It $\&Author$ |