BSD 4_4 development
[unix-history] / usr / contrib / man / cat1 / rlog.0
RLOG(1) BSD Reference Manual RLOG(1)
N\bNA\bAM\bME\bE
rlog - print log messages and other information about RCS
files
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
r\brl\blo\bog\bg [ _\bo_\bp_\bt_\bi_\bo_\bn_\bs ] _\bf_\bi_\bl_\be ...
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
r\brl\blo\bog\bg prints information about RCS files.
Pathnames matching an RCS suffix denote RCS files; all
others denote working files. Names are paired as
explained in c\bci\bi(1).
r\brl\blo\bog\bg 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 revi-
sions, 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, r\brl\blo\bog\bg 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 dis-
played in Coordinated Universal Time (UTC). Without
options, r\brl\blo\bog\bg prints complete information. The options
below restrict this output.
-\b-L\bL Ignore RCS files that have no locks set. This is con-
venient in combination with -\b-h\bh, -\b-l\bl, and -\b-R\bR.
-\b-R\bR Print only the name of the RCS file. This is conve-
nient for translating a working pathname into an RCS
pathname.
-\b-h\bh Print only the RCS pathname, working pathname, head,
default branch, access list, locks, symbolic names,
and suffix.
-\b-t\bt Print the same as -\b-h\bh, plus the descriptive text.
-\b-b\bb Print information about the revisions on the default
branch, normally the highest branch on the trunk.
-\b-d\bd_\bd_\ba_\bt_\be_\bs
Print information about revisions with a checkin
date/time in the ranges given by the semicolon-
separated list of _\bd_\ba_\bt_\be_\bs. A range of the form _\bd_\b1<\b<_\bd_\b2 or
_\bd_\b2>\b>_\bd_\b1 selects the revisions that were deposited
between _\bd_\b1 and _\bd_\b2 inclusive. A range of the form <\b<_\bd
GNU 1991/08/22 1
RLOG(1) BSD Reference Manual RLOG(1)
or _\bd>\b> selects all revisions dated _\bd or earlier. A
range of the form _\bd<\b< or >\b>_\bd selects all revisions dated
_\bd or later. A range of the form _\bd selects the single,
latest revision dated _\bd or earlier. The date/time
strings _\bd, _\bd_\b1, and _\bd_\b2 are in the free format explained
in c\bco\bo(1). Quoting is normally necessary, especially
for <\b< and >\b>. Note that the separator is a semicolon.
-\b-l\bl[_\bl_\bo_\bc_\bk_\be_\br_\bs]
Print information about locked revisions only. In
addition, if the comma-separated list _\bl_\bo_\bc_\bk_\be_\br_\bs of login
names is given, ignore all locks other than those held
by the _\bl_\bo_\bc_\bk_\be_\br_\bs. For example, r\brl\blo\bog\bg -\b-L\bL -\b-R\bR -\b-l\blw\bwf\bft\bt R\bRC\bCS\bS/\b/*\b*
prints the name of RCS files locked by the user w\bwf\bft\bt.
-\b-r\br[_\br_\be_\bv_\bi_\bs_\bi_\bo_\bn_\bs]
prints information about revisions given in the comma-
separated list _\br_\be_\bv_\bi_\bs_\bi_\bo_\bn_\bs of revisions and ranges. A
range _\br_\be_\bv_\b1:\b:_\br_\be_\bv_\b2 means revisions _\br_\be_\bv_\b1 to _\br_\be_\bv_\b2 on the
same branch, :\b:_\br_\be_\bv means revisions from the beginning
of the branch up to and including _\br_\be_\bv, and _\br_\be_\bv:\b: means
revisions starting with _\br_\be_\bv to the end of the branch
containing _\br_\be_\bv. 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 .\b. means the latest revision in
that branch. A bare -\b-r\br with no _\br_\be_\bv_\bi_\bs_\bi_\bo_\bn_\bs means the
latest revision on the default branch, normally the
trunk.
-\b-s\bs_\bs_\bt_\ba_\bt_\be_\bs
prints information about revisions whose state
attributes match one of the states given in the comma-
separated list _\bs_\bt_\ba_\bt_\be_\bs.
-\b-w\bw[_\bl_\bo_\bg_\bi_\bn_\bs]
prints information about revisions checked in by users
with login names appearing in the comma-separated list
_\bl_\bo_\bg_\bi_\bn_\bs. If _\bl_\bo_\bg_\bi_\bn_\bs is omitted, the user's login is
assumed.
-\b-V\bV_\bn Emulate RCS version _\bn when generating logs. See c\bco\bo(1)
for more.
-\b-x\bx_\bs_\bu_\bf_\bf_\bi_\bx_\be_\bs
Use _\bs_\bu_\bf_\bf_\bi_\bx_\be_\bs to characterize RCS files. See c\bci\bi(1) for
details.
r\brl\blo\bog\bg prints the intersection of the revisions selected
with the options -\b-d\bd, -\b-l\bl, -\b-s\bs, and -\b-w\bw, intersected with the
union of the revisions selected by -\b-b\bb and -\b-r\br.
GNU 1991/08/22 2
RLOG(1) BSD Reference Manual RLOG(1)
E\bEX\bXA\bAM\bMP\bPL\bLE\bES\bS
r\brl\blo\bog\bg -\b-L\bL -\b-R\bR R\bRC\bCS\bS/\b/*\b*
r\brl\blo\bog\bg -\b-L\bL -\b-h\bh R\bRC\bCS\bS/\b/*\b*
r\brl\blo\bog\bg -\b-L\bL -\b-l\bl R\bRC\bCS\bS/\b/*\b*
r\brl\blo\bog\bg R\bRC\bCS\bS/\b/*\b*
The first command prints the names of all RCS files in the
subdirectory R\bRC\bCS\bS 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.
E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
R\bRC\bCS\bSI\bIN\bNI\bIT\bT
options prepended to the argument list, separated
by spaces. See c\bci\bi(1) for details.
D\bDI\bIA\bAG\bGN\bNO\bOS\bST\bTI\bIC\bCS\bS
The exit status is zero if and only if all operations were
successful.
I\bID\bDE\bEN\bNT\bTI\bIF\bFI\bIC\bCA\bAT\bTI\bIO\bON\bN
Author: Walter F. Tichy.
Revision Number: 5.3; Release Date: 1991/08/22.
Copyright (C) 1982, 1988, 1989 by Walter F. Tichy.
Copyright (C) 1990, 1991 by Paul Eggert.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1),
rcsmerge(1), rcsfile(5)
Walter F. Tichy, RCS--A System for Version Control,
_\bS_\bo_\bf_\bt_\bw_\ba_\br_\be_\b-_\b-_\bP_\br_\ba_\bc_\bt_\bi_\bc_\be _\b& _\bE_\bx_\bp_\be_\br_\bi_\be_\bn_\bc_\be 1\b15\b5, 7 (July 1985),
637-654.
B\bBU\bUG\bGS\bS
The separator for revision ranges in the -\b-r\br option used to
be -\b- instead of :\b:, but this leads to confusion when sym-
bolic names contain -\b-. For backwards compatibility r\brl\blo\bog\bg
-\b-r\br still supports the old -\b- separator, but it warns about
this obsolete use.
GNU 1991/08/22 3