Extracted from Pike v7.4 release 117 at 2004-11-02.
pike.ida.liu.se
[Top]
predef::
Parser
Parser.RCS
Parser.RCS()->Revision

Method Parser.RCS()->Revision()->expand_keywords()


Method expand_keywords

string expand_keywords(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 text

If supplied, substitutes keywords for that text instead, using values that would apply for this revision. Otherwise, this revision is used.

Parameter override_binary

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