Print log messages and other information about \*os
rlog [ options ] file .\|.\|.
rlog prints information about \*os.
Filenames matching an \*r suffix denote \*os; all others denote working files. Names are paired as explained in ci(1).
rlog prints the following information for each \*o: \*o name, working file name, 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 (\*u) by default; this can be overridden with -z. Without options, rlog prints complete information. The options below restrict this output.
-L
Ignore \*os that have no locks set. This is convenient in combination with -h, -l, and -R.
-R
Print only the name of the \*o. This is convenient for translating a working file name into an \*o name.
-h
Print only the \*o name, working file name, head, default branch, access list, locks, symbolic names, and suffix.
-t
Print the same as -h, plus the descriptive text.
-N
Do not print the symbolic names.
-b
Print information about the revisions on the default branch, normally the highest branch on the trunk.
-ddates
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 d1<d2 or d2>d1 selects the revisions that were deposited between d1 and d2 exclusive. A range of the form <d or d> selects all revisions earlier than d. A range of the form d< or >d selects all revisions dated later than d. If < or > 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 co(1). Quoting is normally necessary, especially for < and >. Note that the separator is a semicolon.
-l[lockers]
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 \*os locked by the user wft.
-r[revisions]
prints information about revisions given in the comma-separated list revisions of revisions and ranges. A range rev1:rev2 means revisions rev1 to rev2 on the same branch, :rev means revisions from the beginning of the branch up to and including rev, and 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. A bare -r with no revisions means the latest revision on the default branch, normally the trunk.
-sstates
prints information about revisions whose state attributes match one of the states given in the comma-separated list states.
-w[logins]
prints information about revisions checked in by users with login names appearing in the comma-separated list logins. If logins is omitted, the user's login is assumed.
-q
This option has no effect; it is provided for consistency with other commands.
-T
This option has no effect; it is present for compatibility with other \*r commands.
-V
Print \*r's version number.
-Vn
Emulate \*r version n when generating logs. See co(1) for more.
-xsuffixes
Use suffixes to characterize \*os. See ci(1) for details.
rlog prints the intersection of the revisions selected with the options -d, -l, -s, and -w, intersected with the union of the revisions selected by -b and -r.
-zzone
specifies the date output format, and specifies the default time zone for date in the -ddates option. The zone should be empty, a numeric \*u offset, or the special string LT for local time. The default is an empty zone, which uses the traditional \*r format of \*u without any time zone indication and with slashes separating the parts of the date; otherwise, times are output in \*i 8601 format with time zone indication. For example, if local time is January 11, 1990, 8pm Pacific Standard Time, eight hours west of \*u, then the time is output as follows:
option time output -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
rlog -L -R RCS/* rlog -L -h RCS/* rlog -L -l RCS/* rlog RCS/*
The first command prints the names of all \*os in the subdirectory RCS that have locks. The second command prints the headers of those files, and the third prints the headers plus the log messages of the locked revisions. The last command prints complete information.
\s-1RCSINIT\s0
Options prepended to the argument list, separated by spaces. A backslash escapes spaces within an option. The \s-1RCSINIT\s0 options are prepended to the argument lists of most \*r commands. Useful \s-1RCSINIT\s0 options include -q, -V, -x, and -z.
\s-1RCS_MEM_LIMIT\s0
An integer lim, measured in kilobytes, specifying the threshold under which commands will try to use memory-based operations for processing the \*o. (For \*os of size lim kilobytes or greater, RCS will use the slower standard input/output routines.) Default value is 256.
\s-1TMPDIR\s0
Name of the temporary directory. If not set, the environment variables \s-1TMP\s0 and \s-1TEMP\s0 are inspected instead and the first value found is taken; if none of them are set, a host-dependent default is used, typically /tmp.
The exit status is zero if and only if all operations were successful.
Author: Walter F. Tichy.
Manual Page Revision: \*(Rv; Release Date: \*(Dt.
Copyright © 2010-2014 Thien-Thi Nguyen.
Copyright © \*(EY Paul Eggert.
Copyright © 1982, 1988, 1989 Walter F. Tichy.
ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsmerge(1), rcsfile(5).
Walter F. Tichy, \*r\*-A System for Version Control, Software\*-Practice & Experience 15, 7 (July 1985), 637-654.
The full documentation for \*r is maintained as a Texinfo manual. If the info(1) and \*r programs are properly installed at your site, the command
info rcs
should give you access to the complete manual. Additionally, the \*r homepage:
http://www.gnu.org/software/rcs/
has news and links to the latest release, development site, etc.
The separator for revision ranges in the -r option used to be - instead of :, but this leads to confusion when symbolic names contain -. For backwards compatibility rlog -r still supports the old - separator, but it warns about this obsolete use.