1 .\" $NetBSD: rlog.1,v 1.4 1996/10/15 07:00:49 veego Exp $
7 .\" Id: rlog.1,v 5.9 1995/06/16 06:19:24 eggert Exp
15 rlog \- print log messages and other information about RCS files
18 .RI [ " options " ] " file " .\|.\|.
21 prints information about \*r files.
23 Pathnames matching an \*r suffix denote \*r files;
24 all others denote working files.
25 Names are paired as explained in
29 prints the following information for each
30 \*r file: \*r pathname, working pathname, head (i.e., the number
31 of the latest revision on the trunk), default branch, access list, locks,
32 symbolic names, suffix, total number of revisions,
33 number of revisions selected for printing, and
34 descriptive text. This is followed by entries for the selected revisions in
35 reverse chronological order for each branch. For each revision,
37 prints revision number, author, date/time, state, number of
38 lines added/deleted (with respect to the previous revision),
39 locker of the revision (if any), and log message.
40 All times are displayed in Coordinated Universal Time (\*u) by default;
41 this can be overridden with
45 prints complete information.
46 The options below restrict this output.
47 .nr n \w'\f3\-V\fP\f2n\fP'+2n-1/1n
49 .if \n(.g .if r an-tag-sep .ds n \w'\f3\-V\fP\f2n\fP'u+\n[an-tag-sep]u
52 Ignore \*r files that have no locks set.
53 This is convenient in combination with
60 Print only the name of the \*r file.
61 This is convenient for translating a
62 working pathname into an \*r pathname.
65 Print only the \*r pathname, working pathname, head,
66 default branch, access list, locks,
67 symbolic names, and suffix.
72 plus the descriptive text.
75 Do not print the symbolic names.
78 Print information about the revisions on the default branch, normally
79 the highest branch on the trunk.
82 Print information about revisions with a checkin date/time in the ranges given by
83 the semicolon-separated list of
89 selects the revisions that were deposited between
99 all revisions earlier than
106 all revisions dated later than
114 then the ranges are inclusive, not exclusive.
117 selects the single, latest revision dated
120 The date/time strings
125 are in the free format explained in
127 Quoting is normally necessary, especially for
131 Note that the separator is
134 .BR \-l [\f2lockers\fP]
135 Print information about locked revisions only.
136 In addition, if the comma-separated list
138 of login names is given,
139 ignore all locks other than those held by the
142 .B "rlog\ \-L\ \-R\ \-lwft\ RCS/*"
143 prints the name of \*r files locked by the user
146 .BR \-r [\f2revisions\fP]
147 prints information about revisions given in the comma-separated list
149 of revisions and ranges.
158 means revisions from the beginning of the branch up to and including
162 means revisions starting with
164 to the end of the branch containing
166 An argument that is a branch means all
167 revisions on that branch.
168 A range of branches means all revisions
169 on the branches in that range.
170 A branch followed by a
172 means the latest revision in that branch.
177 means the latest revision on the default branch, normally the trunk.
180 prints information about revisions whose state attributes match one of the
181 states given in the comma-separated list
184 .BR \-w [\f2logins\fP]
185 prints information about revisions checked in by users with
186 login names appearing in the comma-separated list
190 is omitted, the user's login is assumed.
193 This option has no effect;
194 it is present for compatibility with other \*r commands.
197 Print \*r's version number.
202 when generating logs.
210 to characterize \*r files.
216 prints the intersection of the revisions selected with
224 with the union of the revisions selected by
230 specifies the date output format,
231 and specifies the default time zone for
238 should be empty, a numeric \*u offset, or the special string
241 The default is an empty
243 which uses the traditional \*r format of \*u without any time zone indication
244 and with slashes separating the parts of the date;
245 otherwise, times are output in \*i 8601 format with time zone indication.
246 For example, if local time is January 11, 1990, 8pm Pacific Standard Time,
247 eight hours west of \*u,
248 then the time is output as follows:
253 .ta \w'\f3\-z+05:30\fP 'u +\w'\f31990-01-11 09:30:00+05:30\fP 'u
255 \f2option\fP \f2time output\fP
256 \f3\-z\fP \f31990/01/12 04:00:00\fP \f2(default)\fP
257 \f3\-zLT\fP \f31990-01-11 20:00:00\-08\fP
258 \f3\-z+05:30\fP \f31990-01-12 09:30:00+05:30\fP
265 .B " rlog \-L \-R RCS/*"
266 .B " rlog \-L \-h RCS/*"
267 .B " rlog \-L \-l RCS/*"
271 The first command prints the names of all \*r files in the subdirectory
273 that have locks. The second command prints the headers of those files,
274 and the third prints the headers plus the log messages of the locked revisions.
275 The last command prints complete information.
279 options prepended to the argument list, separated by spaces.
284 The exit status is zero if and only if all operations were successful.
286 Author: Walter F. Tichy.
288 Manual Page Revision: \*(Rv; Release Date: \*(Dt.
290 Copyright \(co 1982, 1988, 1989 Walter F. Tichy.
292 Copyright \(co 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert.
294 ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1),
298 \*r\*-A System for Version Control,
299 .I "Software\*-Practice \*[Am] Experience"
301 7 (July 1985), 637-654.
303 The separator for revision ranges in the
309 but this leads to confusion when symbolic names contain
311 For backwards compatibility
313 still supports the old
315 separator, but it warns about this obsolete use.