1RLOG(1L)                                                              RLOG(1L)
2
3
4

NAME

6       rlog - print log messages and other information about RCS files
7

SYNOPSIS

9       rlog [ options ] file ...
10

DESCRIPTION

12       Rlog  prints information about RCS files.  Files ending in `,v' are RCS
13       files, all others are working files. If a working file is  given,  rlog
14       tries  to  find the corresponding RCS file first in directory ./RCS and
15       then in the current directory, as explained in co(1L).
16
17       Rlog prints the following information for each RCS file: RCS file name,
18       working file name, head (i.e., the number of the latest revision on the
19       trunk), default branch, access list,  locks,  symbolic  names,  suffix,
20       total  number  of revisions, number of revisions selected for printing,
21       and descriptive text. This is followed  by  entries  for  the  selected
22       revisions  in  reverse  chronological  order  for each branch. For each
23       revision, rlog prints revision number, author, date/time, state, number
24       of  lines added/deleted (with respect to the previous revision), locker
25       of the revision (if any),  and  log  message.   Without  options,  rlog
26       prints complete information.  The options below restrict this output.
27
28       -L        ignores  RCS files that have no locks set; convenient in com‐
29                 bination with -R, -h, or -l.
30
31       -R        only prints the name of the RCS file; convenient  for  trans‐
32                 lating a working file name into an RCS file name.
33
34       -h        prints  only  RCS file name, working file name, head, default
35                 branch, access list, locks, symbolic names, and suffix.
36
37       -t        prints the same as -h, plus the descriptive text.
38
39       -b        prints information about the revisions on the default  branch
40                 (normally the highest branch on the trunk).
41
42       -ddates   prints  information  about revisions with a checkin date/time
43                 in the ranges given by the semicolon-separated list of dates.
44                 A range of the form d1<d2 or d2>d1 selects the revisions that
45                 were deposited between d1 and d2, (inclusive).   A  range  of
46                 the  form  <d or d> selects all revisions dated d or earlier.
47                 A range of the form d< or >d selects all revisions dated d or
48                 later.   A  range  of  the  form d selects the single, latest
49                 revision dated d or earlier.  The date/time  strings  d,  d1,
50                 and  d2  are in the free format explained in co(1L).  Quoting
51                 is normally necessary, especially for < and >. Note that  the
52                 separator is a semicolon.
53
54       -l[lockers]
55                 prints information about locked revisions.  If the comma-sep‐
56                 arated list lockers of login names is given, only  the  revi‐
57                 sions  locked  by  the given login names are printed.  If the
58                 list is omitted, all locked revisions are printed.
59
60       -rrevisions
61                 prints information about revisions given in  the  comma-sepa‐
62                 rated  list  revisions  of  revisions  and  ranges.  A  range
63                 rev1-rev2 means revisions rev1 to rev2 on  the  same  branch,
64                 -rev  means  revisions from the beginning of the branch up to
65                 and including rev, and rev- means revisions starting with rev
66                 to  the end of the branch containing rev. An argument that is
67                 a branch means all revisions  on  that  branch.  A  range  of
68                 branches means all revisions on the branches in that range.
69
70       -sstates  prints  information  about  revisions  whose state attributes
71                 match one of the states given  in  the  comma-separated  list
72                 states.
73
74       -w[logins]
75                 prints  information  about revisions checked in by users with
76                 login names appearing in the comma-separated list logins.  If
77                 logins is omitted, the user's login is assumed.
78
79       Rlog prints the intersection of the revisions selected with the options
80       -d, -l, -s, -w, intersected with the union of the revisions selected by
81       -b and -r.
82

EXAMPLES

84               rlog  -L  -R  RCS/*,v
85               rlog  -L  -h  RCS/*,v
86               rlog  -L  -l  RCS/*,v
87               rlog  RCS/*,v
88
89       The first command prints the names of all RCS files in the subdirectory
90       `RCS' which have locks. The second command prints the headers of  those
91       files,  and  the  third prints the headers plus the log messages of the
92       locked revisions.  The last command prints complete information.
93

DIAGNOSTICS

95       The exit status always refers to the last RCS file operated  upon,  and
96       is 0 if the operation was successful, 1 otherwise.
97

IDENTIFICATION

99       Author: Walter F. Tichy, Purdue University, West Lafayette, IN, 47907.
100       Revision Number: 1.2 ; Release Date: 87/03/17 .
101       Copyright © 1982 by Walter F. Tichy.
102

SEE ALSO

104       ci(1L),   co(1L),   ident(1L),   rcs(1L),   rcsdiff(1L),  rcsintro(1L),
105       rcsmerge(1L), rcsfile(5L)
106       Walter F. Tichy, "Design, Implementation, and Evaluation of a  Revision
107       Control  System," in Proceedings of the 6th International Conference on
108       Software Engineering, IEEE, Tokyo, Sept. 1982.
109
110
111
112Purdue University                                                     RLOG(1L)
Impressum