prints information about RCS
Pathnames matching an RCS suffix denote RCS files;
all others denote working files.
Names are paired as explained in
rlog prints the following information for each
RCS file: RCS pathname, working pathname, head (i.e., the number
of the latest revision on the trunk), default branch, access list, locks,
symbolic names, suffix, total number of revisions,
number of revisions selected for printing, and
descriptive text. This is followed by entries for the selected revisions in
reverse chronological order for each branch. For each revision,
rlog prints revision number, author, date/time, state, number of
lines added/deleted (with respect to the previous revision),
locker of the revision (if any), and log message.
All times are displayed in Coordinated Universal Time (UTC) by default;
this can be overridden with
-z. Without options,
rlog prints complete information.
The options below restrict this output.
Ignore RCS files that have no locks set.
This is convenient in combination with
-h, -l, and
Print only the name of the RCS file.
This is convenient for translating a
working pathname into an RCS pathname.
Print only the working pathname and tip-revision.
The optional string is prepended to the outputline.
Print only the RCS pathname, working pathname, head,
default branch, access list, locks,
symbolic names, and suffix.
Print the same as
-h, plus the descriptive text.
Do not print the symbolic names.
Print information about the revisions on the default branch, normally
the highest branch on the trunk.
Print information about revisions with a checkin date/time in the ranges given by
the semicolon-separated list of
dates. A range of the form
d2>d1 selects the revisions that were deposited between
A range of the form
all revisions earlier than
d. A range of the form
all revisions dated later than
> is followed by
= then the ranges are inclusive, not exclusive.
A range of the form
d selects the single, latest revision dated
d or earlier.
The date/time strings
d, d1, and
d2 are in the free format explained in
Quoting is normally necessary, especially for
>. Note that the separator is
Print information about locked revisions only.
In addition, if the comma-separated list
lockers of login names is given,
ignore all locks other than those held by the
lockers. For example,
rlog -L -R -lwft RCS/* prints the name of RCS files locked by the user
prints information about revisions given in the comma-separated list
revisions of revisions and ranges.
rev1:rev2 means revisions
rev2 on the same branch,
:rev means revisions from the beginning of the branch up to and including
rev: means revisions starting with
rev to the end of the branch containing
rev. An argument that is a branch means all
revisions on that branch.
A range of branches means all revisions
on the branches in that range.
A branch followed by a
. means the latest revision in that branch.
-r with no
revisions means the latest revision on the default branch, normally the trunk.
prints information about revisions whose state attributes match one of the
states given in the comma-separated list
prints information about revisions checked in by users with
login names appearing in the comma-separated list
logins is omitted, the user's login is assumed.
This option has no effect;
it is present for compatibility with other RCS commands.
Print RCS's version number.
Emulate RCS version
n when generating logs.
suffixes to characterize RCS files.
prints the intersection of the revisions selected with
with the union of the revisions selected by
specifies the date output format,
and specifies the default time zone for
date in the
zone should be empty, a numeric UTC offset, or the special string
LT for local time.
The default is an empty
zone, which uses the traditional RCS format of UTC without any time zone indication
and with slashes separating the parts of the date;
otherwise, times are output in ISO 8601 format with time zone indication.
For example, if local time is January 11, 1990, 8pm Pacific Standard Time,
eight hours west of UTC,
then the time is output as follows:
-z 1990/01/12 04:00:00 (default)
-zLT 1990-01-11 20:00:00-08
-z+05:30 1990-01-12 09:30:00+05:30