[Top]
Parser
Parser.RCS
|
Method Parser.RCS()->expand_keywords_for_revision()
- Method
expand_keywords_for_revision
-
string expand_keywords_for_revision(string|Revision rev, string|void text, int|void override_binary)
- Description
-
Expand keywords and return the resulting text according to the
expansion rules set for the file.
- Parameter rev
-
The revision to apply the expansion for.
- Parameter text
-
If supplied, substitute keywords for that text instead using values that
would apply for the given revision. Otherwise, revision rev is used.
- Parameter override_binary
-
If 1, perform expansion even if the file was checked in as binary.
- Note
-
The Log keyword (which lacks sane quoting rules) is not
expanded. Keyword expansion rules set in CVSROOT/cvswrappers
are ignored. Only implements the -kkv and -kb expansion modes.
- See also
-
get_contents_for_revision
|