Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Parser
Parser.RCS

Class Parser.RCS

Description

A RCS file parser that eats a RCS *,v file and presents nice pike data structures of its contents.


Inherit _RCS

inherit Parser._RCS : _RCS


Variable head

string head

Description

Version number of the head version of the file


Variable branch

string|int(0..0) branch

Description

The default branch (or revision), if present, 0 otherwise


Variable access

array(string) access

Description

The usernames listed in the ACCESS section of the RCS file


Variable comment

string|int(0..0) comment

Description

The RCS file comment if present, 0 otherwise


Variable expand

string expand

Description

The keyword expansion options (as named by RCS) if present, 0 otherwise


Variable description

string description

Description

The RCS file description


Variable locks

mapping(string:string) locks

Description

Maps from username to revision for users that have acquired locks on this file


Variable strict_locks

int(0..1) strict_locks

Description

1 if strict locking is set, 0 otherwise


Variable tags

mapping(string:string) tags

Description

Maps tag names (indices) to tagged revision numbers (values)


Variable branches

mapping(string:string) branches

Description

Maps branch numbers (indices) to branch names (values)


Variable revisions

mapping(string:Revision) revisions

Description

Data for all revisions of the file. The indices of the mapping are the revision numbers, whereas the values are the data from the corresponding revision.


Variable trunk

array(mapping) trunk

Description

Data for all revisions on the trunk, sorted in the same order as the RCS file stored them - ie descending, most recent first, I'd assume (rcsfile(5), of course, fails to state such irrelevant information).