Recognized Keywords
prcs understands the following built-in keywords, in addition to
any declared in the Project-Keywords attribute. Others are ignored (their
instances are left unchanged). Instances of the Source and
ProjectHeader keywords change whenever the file is moved from one
directory to another within a project. Instances of Project,
ProjectDate, ProjectAuthor, ProjectMajorVersion, ProjectMinorVersion,
ProjectVersion, and ProjectHeader can change even when the file
containing them does not, since they depend on the project, not the
file. These keywords are known collectively as project-related
keywords.
- Author
- The login of the user who created this checked-in version of the file.
Changes in a file due solely to project-related keyword replacement do
not affect the value of this keyword.
- Date
- The date and time at which this version of the file was checked in.
Changes in a file due solely to project-related keyword replacement do
not affect the value of this keyword.
- Basename
- The base name of the file, as it appears in the Files attribute.
- Revision
- A notation that serves as a revision number for this file (it is
independent of the project's version number, and changes only when the
file changes).
Changes in a file due solely to project-related keyword replacement do
not affect the value of this keyword.
- Id
- A standard header combining the Basename, Revision, Date, and Author.
- Source
- The full name of the file, as a pathname relative to the root of the
project's directory tree.
- Project
- The name of the project containing the file version.
- ProjectDate
- The date and time the project containing this file version was
checked in.
- ProjectAuthor
- The login name of the user who checked in the project version containing this
file version.
- ProjectMajorVersion
- The major version name of the project version containing this file version.
- ProjectMinorVersion
- The minor version name (a number) of the project version containing this file
version.
- ProjectVersion
- The complete version designator for this project version. It has the
form M.N, where M is the major project-version name
and N is the minor project-version name.
- ProjectHeader
- A standard header combining the Project, ProjectVersion, ProjectDate,
and ProjectAuthor.