[9046] | 1 | .de Id |
---|
| 2 | .ds Rv \\$3 |
---|
| 3 | .ds Dt \\$4 |
---|
| 4 | .. |
---|
| 5 | .Id $Id: rlog.1,v 1.1.1.1 1996-10-04 05:52:42 ghudson Exp $ |
---|
| 6 | .ds i \&\s-1ISO\s0 |
---|
| 7 | .ds r \&\s-1RCS\s0 |
---|
| 8 | .ds u \&\s-1UTC\s0 |
---|
| 9 | .if n .ds - \%-- |
---|
| 10 | .if t .ds - \(em |
---|
| 11 | .TH RLOG 1 \*(Dt GNU |
---|
| 12 | .SH NAME |
---|
| 13 | rlog \- print log messages and other information about RCS files |
---|
| 14 | .SH SYNOPSIS |
---|
| 15 | .B rlog |
---|
| 16 | .RI [ " options " ] " file " .\|.\|. |
---|
| 17 | .SH DESCRIPTION |
---|
| 18 | .B rlog |
---|
| 19 | prints information about \*r files. |
---|
| 20 | .PP |
---|
| 21 | Pathnames matching an \*r suffix denote \*r files; |
---|
| 22 | all others denote working files. |
---|
| 23 | Names are paired as explained in |
---|
| 24 | .BR ci (1). |
---|
| 25 | .PP |
---|
| 26 | .B rlog |
---|
| 27 | prints the following information for each |
---|
| 28 | \*r file: \*r pathname, working pathname, head (i.e., the number |
---|
| 29 | of the latest revision on the trunk), default branch, access list, locks, |
---|
| 30 | symbolic names, suffix, total number of revisions, |
---|
| 31 | number of revisions selected for printing, and |
---|
| 32 | descriptive text. This is followed by entries for the selected revisions in |
---|
| 33 | reverse chronological order for each branch. For each revision, |
---|
| 34 | .B rlog |
---|
| 35 | prints revision number, author, date/time, state, number of |
---|
| 36 | lines added/deleted (with respect to the previous revision), |
---|
| 37 | locker of the revision (if any), and log message. |
---|
| 38 | All times are displayed in Coordinated Universal Time (\*u) by default; |
---|
| 39 | this can be overridden with |
---|
| 40 | .BR \-z . |
---|
| 41 | Without options, |
---|
| 42 | .B rlog |
---|
| 43 | prints complete information. |
---|
| 44 | The options below restrict this output. |
---|
| 45 | .nr n \w'\f3\-V\fP\f2n\fP'+2n-1/1n |
---|
| 46 | .ds n \nn |
---|
| 47 | .if \n(.g .if r an-tag-sep .ds n \w'\f3\-V\fP\f2n\fP'u+\n[an-tag-sep]u |
---|
| 48 | .TP \*n |
---|
| 49 | .B \-L |
---|
| 50 | Ignore \*r files that have no locks set. |
---|
| 51 | This is convenient in combination with |
---|
| 52 | .BR \-h , |
---|
| 53 | .BR \-l , |
---|
| 54 | and |
---|
| 55 | .BR \-R . |
---|
| 56 | .TP |
---|
| 57 | .B \-R |
---|
| 58 | Print only the name of the \*r file. |
---|
| 59 | This is convenient for translating a |
---|
| 60 | working pathname into an \*r pathname. |
---|
| 61 | .TP |
---|
| 62 | .B \-h |
---|
| 63 | Print only the \*r pathname, working pathname, head, |
---|
| 64 | default branch, access list, locks, |
---|
| 65 | symbolic names, and suffix. |
---|
| 66 | .TP |
---|
| 67 | .B \-t |
---|
| 68 | Print the same as |
---|
| 69 | .BR \-h , |
---|
| 70 | plus the descriptive text. |
---|
| 71 | .TP |
---|
| 72 | .B \-N |
---|
| 73 | Do not print the symbolic names. |
---|
| 74 | .TP |
---|
| 75 | .B \-b |
---|
| 76 | Print information about the revisions on the default branch, normally |
---|
| 77 | the highest branch on the trunk. |
---|
| 78 | .TP |
---|
| 79 | .BI \-d "dates" |
---|
| 80 | Print information about revisions with a checkin date/time in the ranges given by |
---|
| 81 | the semicolon-separated list of |
---|
| 82 | .IR dates . |
---|
| 83 | A range of the form |
---|
| 84 | .IB d1 < d2 |
---|
| 85 | or |
---|
| 86 | .IB d2 > d1 |
---|
| 87 | selects the revisions that were deposited between |
---|
| 88 | .I d1 |
---|
| 89 | and |
---|
| 90 | .I d2 |
---|
| 91 | exclusive. |
---|
| 92 | A range of the form |
---|
| 93 | .BI < d |
---|
| 94 | or |
---|
| 95 | .IB d > |
---|
| 96 | selects |
---|
| 97 | all revisions earlier than |
---|
| 98 | .IR d . |
---|
| 99 | A range of the form |
---|
| 100 | .IB d < |
---|
| 101 | or |
---|
| 102 | .BI > d |
---|
| 103 | selects |
---|
| 104 | all revisions dated later than |
---|
| 105 | .IR d . |
---|
| 106 | If |
---|
| 107 | .B < |
---|
| 108 | or |
---|
| 109 | .B > |
---|
| 110 | is followed by |
---|
| 111 | .B = |
---|
| 112 | then the ranges are inclusive, not exclusive. |
---|
| 113 | A range of the form |
---|
| 114 | .I d |
---|
| 115 | selects the single, latest revision dated |
---|
| 116 | .I d |
---|
| 117 | or earlier. |
---|
| 118 | The date/time strings |
---|
| 119 | .IR d , |
---|
| 120 | .IR d1 , |
---|
| 121 | and |
---|
| 122 | .I d2 |
---|
| 123 | are in the free format explained in |
---|
| 124 | .BR co (1). |
---|
| 125 | Quoting is normally necessary, especially for |
---|
| 126 | .B < |
---|
| 127 | and |
---|
| 128 | .BR > . |
---|
| 129 | Note that the separator is |
---|
| 130 | a semicolon. |
---|
| 131 | .TP |
---|
| 132 | .BR \-l [\f2lockers\fP] |
---|
| 133 | Print information about locked revisions only. |
---|
| 134 | In addition, if the comma-separated list |
---|
| 135 | .I lockers |
---|
| 136 | of login names is given, |
---|
| 137 | ignore all locks other than those held by the |
---|
| 138 | .IR lockers . |
---|
| 139 | For example, |
---|
| 140 | .B "rlog\ \-L\ \-R\ \-lwft\ RCS/*" |
---|
| 141 | prints the name of \*r files locked by the user |
---|
| 142 | .BR wft . |
---|
| 143 | .TP |
---|
| 144 | .BR \-r [\f2revisions\fP] |
---|
| 145 | prints information about revisions given in the comma-separated list |
---|
| 146 | .I revisions |
---|
| 147 | of revisions and ranges. |
---|
| 148 | A range |
---|
| 149 | .IB rev1 : rev2 |
---|
| 150 | means revisions |
---|
| 151 | .I rev1 |
---|
| 152 | to |
---|
| 153 | .I rev2 |
---|
| 154 | on the same branch, |
---|
| 155 | .BI : rev |
---|
| 156 | means revisions from the beginning of the branch up to and including |
---|
| 157 | .IR rev , |
---|
| 158 | and |
---|
| 159 | .IB rev : |
---|
| 160 | means revisions starting with |
---|
| 161 | .I rev |
---|
| 162 | to the end of the branch containing |
---|
| 163 | .IR rev . |
---|
| 164 | An argument that is a branch means all |
---|
| 165 | revisions on that branch. |
---|
| 166 | A range of branches means all revisions |
---|
| 167 | on the branches in that range. |
---|
| 168 | A branch followed by a |
---|
| 169 | .B .\& |
---|
| 170 | means the latest revision in that branch. |
---|
| 171 | A bare |
---|
| 172 | .B \-r |
---|
| 173 | with no |
---|
| 174 | .I revisions |
---|
| 175 | means the latest revision on the default branch, normally the trunk. |
---|
| 176 | .TP |
---|
| 177 | .BI \-s states |
---|
| 178 | prints information about revisions whose state attributes match one of the |
---|
| 179 | states given in the comma-separated list |
---|
| 180 | .IR states . |
---|
| 181 | .TP |
---|
| 182 | .BR \-w [\f2logins\fP] |
---|
| 183 | prints information about revisions checked in by users with |
---|
| 184 | login names appearing in the comma-separated list |
---|
| 185 | .IR logins . |
---|
| 186 | If |
---|
| 187 | .I logins |
---|
| 188 | is omitted, the user's login is assumed. |
---|
| 189 | .TP |
---|
| 190 | .B \-T |
---|
| 191 | This option has no effect; |
---|
| 192 | it is present for compatibility with other \*r commands. |
---|
| 193 | .TP |
---|
| 194 | .BI \-V |
---|
| 195 | Print \*r's version number. |
---|
| 196 | .TP |
---|
| 197 | .BI \-V n |
---|
| 198 | Emulate \*r version |
---|
| 199 | .I n |
---|
| 200 | when generating logs. |
---|
| 201 | See |
---|
| 202 | .BR co (1) |
---|
| 203 | for more. |
---|
| 204 | .TP |
---|
| 205 | .BI \-x "suffixes" |
---|
| 206 | Use |
---|
| 207 | .I suffixes |
---|
| 208 | to characterize \*r files. |
---|
| 209 | See |
---|
| 210 | .BR ci (1) |
---|
| 211 | for details. |
---|
| 212 | .PP |
---|
| 213 | .B rlog |
---|
| 214 | prints the intersection of the revisions selected with |
---|
| 215 | the options |
---|
| 216 | .BR \-d , |
---|
| 217 | .BR \-l , |
---|
| 218 | .BR \-s , |
---|
| 219 | and |
---|
| 220 | .BR \-w , |
---|
| 221 | intersected |
---|
| 222 | with the union of the revisions selected by |
---|
| 223 | .B \-b |
---|
| 224 | and |
---|
| 225 | .BR \-r . |
---|
| 226 | .TP |
---|
| 227 | .BI \-z zone |
---|
| 228 | specifies the date output format, |
---|
| 229 | and specifies the default time zone for |
---|
| 230 | .I date |
---|
| 231 | in the |
---|
| 232 | .BI \-d dates |
---|
| 233 | option. |
---|
| 234 | The |
---|
| 235 | .I zone |
---|
| 236 | should be empty, a numeric \*u offset, or the special string |
---|
| 237 | .B LT |
---|
| 238 | for local time. |
---|
| 239 | The default is an empty |
---|
| 240 | .IR zone , |
---|
| 241 | which uses the traditional \*r format of \*u without any time zone indication |
---|
| 242 | and with slashes separating the parts of the date; |
---|
| 243 | otherwise, times are output in \*i 8601 format with time zone indication. |
---|
| 244 | For example, if local time is January 11, 1990, 8pm Pacific Standard Time, |
---|
| 245 | eight hours west of \*u, |
---|
| 246 | then the time is output as follows: |
---|
| 247 | .RS |
---|
| 248 | .LP |
---|
| 249 | .RS |
---|
| 250 | .nf |
---|
| 251 | .ta \w'\f3\-z+05:30\fP 'u +\w'\f31990-01-11 09:30:00+05:30\fP 'u |
---|
| 252 | .ne 4 |
---|
| 253 | \f2option\fP \f2time output\fP |
---|
| 254 | \f3\-z\fP \f31990/01/12 04:00:00\fP \f2(default)\fP |
---|
| 255 | \f3\-zLT\fP \f31990-01-11 20:00:00\-08\fP |
---|
| 256 | \f3\-z+05:30\fP \f31990-01-12 09:30:00+05:30\fP |
---|
| 257 | .ta 4n +4n +4n +4n |
---|
| 258 | .fi |
---|
| 259 | .RE |
---|
| 260 | .SH EXAMPLES |
---|
| 261 | .LP |
---|
| 262 | .nf |
---|
| 263 | .B " rlog \-L \-R RCS/*" |
---|
| 264 | .B " rlog \-L \-h RCS/*" |
---|
| 265 | .B " rlog \-L \-l RCS/*" |
---|
| 266 | .B " rlog RCS/*" |
---|
| 267 | .fi |
---|
| 268 | .LP |
---|
| 269 | The first command prints the names of all \*r files in the subdirectory |
---|
| 270 | .B RCS |
---|
| 271 | that have locks. The second command prints the headers of those files, |
---|
| 272 | and the third prints the headers plus the log messages of the locked revisions. |
---|
| 273 | The last command prints complete information. |
---|
| 274 | .SH ENVIRONMENT |
---|
| 275 | .TP |
---|
| 276 | .B \s-1RCSINIT\s0 |
---|
| 277 | options prepended to the argument list, separated by spaces. |
---|
| 278 | See |
---|
| 279 | .BR ci (1) |
---|
| 280 | for details. |
---|
| 281 | .SH DIAGNOSTICS |
---|
| 282 | The exit status is zero if and only if all operations were successful. |
---|
| 283 | .SH IDENTIFICATION |
---|
| 284 | Author: Walter F. Tichy. |
---|
| 285 | .br |
---|
| 286 | Manual Page Revision: \*(Rv; Release Date: \*(Dt. |
---|
| 287 | .br |
---|
| 288 | Copyright \(co 1982, 1988, 1989 Walter F. Tichy. |
---|
| 289 | .br |
---|
| 290 | Copyright \(co 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert. |
---|
| 291 | .SH "SEE ALSO" |
---|
| 292 | ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), |
---|
| 293 | rcsfile(5) |
---|
| 294 | .br |
---|
| 295 | Walter F. Tichy, |
---|
| 296 | \*r\*-A System for Version Control, |
---|
| 297 | .I "Software\*-Practice & Experience" |
---|
| 298 | .BR 15 , |
---|
| 299 | 7 (July 1985), 637-654. |
---|
| 300 | .SH BUGS |
---|
| 301 | The separator for revision ranges in the |
---|
| 302 | .B \-r |
---|
| 303 | option used to be |
---|
| 304 | .B \- |
---|
| 305 | instead of |
---|
| 306 | .BR : , |
---|
| 307 | but this leads to confusion when symbolic names contain |
---|
| 308 | .BR \- . |
---|
| 309 | For backwards compatibility |
---|
| 310 | .B "rlog \-r" |
---|
| 311 | still supports the old |
---|
| 312 | .B \- |
---|
| 313 | separator, but it warns about this obsolete use. |
---|
| 314 | .br |
---|