📄 rlog.1
字号:
.de Id.ds Rv \\$3.ds Dt \\$4...Id $Id: rlog.1,v 5.3 1991/08/22 06:50:48 eggert Exp $.ds g \&\s-1UTC\s0.ds r \&\s-1RCS\s0.if n .ds - \%--.if t .ds - \(em.TH RLOG 1 \*(Dt GNU.SH NAMErlog \- print log messages and other information about RCS files.SH SYNOPSIS.B rlog.RI [ " options " ] " file " .\|.\|..SH DESCRIPTION.B rlogprints information about \*r files..PPPathnames matching an \*r suffix denote \*r files;all others denote working files.Names are paired as explained in.BR ci (1)..PP.B rlogprints the following information for each\*r file: \*r pathname, working pathname, head (i.e., the numberof the latest revision on the trunk), default branch, access list, locks,symbolic names, suffix, total number of revisions,number of revisions selected for printing, anddescriptive text. This is followed by entries for the selected revisions inreverse chronological order for each branch. For each revision,.B rlogprints revision number, author, date/time, state, number oflines 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 (\*g).Without options,.B rlogprints complete information.The options below restrict this output..nr n \w'\f3\-V\fP\f2n\fP '+1n-1/1n.TP \nn.B \-LIgnore \*r files that have no locks set.This is convenient in combination with.BR \-h ,.BR \-l ,and.BR \-R ..TP.B \-RPrint only the name of the \*r file.This is convenient for translating aworking pathname into an \*r pathname..TP.B \-hPrint only the \*r pathname, working pathname, head,default branch, access list, locks,symbolic names, and suffix..TP.B \-tPrint the same as.BR \-h ,plus the descriptive text..TP.B \-bPrint information about the revisions on the default branch, normallythe highest branch on the trunk..TP.BI \-d "dates"Print information about revisions with a checkin date/time in the ranges given bythe semicolon-separated list of.IR dates .A range of the form.IB d1 < d2or.IB d2 > d1selects the revisions that were deposited between.I d1and.I d2inclusive.A range of the form.BI < dor.IB d >selectsall revisions dated.I dor earlier.A range of the form.IB d <or.BI > dselectsall revisions dated.I dor later.A range of the form.I dselects the single, latest revision dated.I dor earlier.The date/time strings.IR d ,.IR d1 ,and.I d2are in the free format explained in.BR co (1).Quoting is normally necessary, especially for.B <and.BR > .Note that the separator isa semicolon..TP.BR \-l [\f2lockers\fP]Print information about locked revisions only.In addition, if the comma-separated list.I lockersof login names is given,ignore all locks other than those held by the.IR lockers .For example,.B "rlog\ \-L\ \-R\ \-lwft\ RCS/*"prints the name of \*r files locked by the user.BR wft ..TP.BR \-r [\f2revisions\fP]prints information about revisions given in the comma-separated list.I revisionsof revisions and ranges.A range.IB rev1 : rev2means revisions.I rev1to.I rev2on the same branch,.BI : revmeans revisions from the beginning of the branch up to and including.IR rev ,and.IB rev :means revisions starting with.I revto the end of the branch containing.IR rev .An argument that is a branch means allrevisions on that branch.A range of branches means all revisionson the branches in that range.A branch followed by a.B .\&means the latest revision in that branch.A bare.B \-rwith no.I revisionsmeans the latest revision on the default branch, normally the trunk..TP.BI \-s statesprints information about revisions whose state attributes match one of thestates given in the comma-separated list.IR states ..TP.BR \-w [\f2logins\fP]prints information about revisions checked in by users withlogin names appearing in the comma-separated list.IR logins .If.I loginsis omitted, the user's login is assumed..TP.BI \-V nEmulate \*r version.I nwhen generating logs.See.BR co (1)for more..TP.BI \-x "suffixes"Use.I suffixesto characterize \*r files.See.BR ci (1)for details..PP.B rlogprints the intersection of the revisions selected withthe options.BR \-d ,.BR \-l ,.BR \-s ,and.BR \-w ,intersectedwith the union of the revisions selected by.B \-band.BR \-r ..SH EXAMPLES.LP.nf.B " rlog \-L \-R RCS/*".B " rlog \-L \-h RCS/*".B " rlog \-L \-l RCS/*".B " rlog RCS/*".fi.LPThe first command prints the names of all \*r files in the subdirectory.B RCSthat 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..SH ENVIRONMENT.TP.B \s-1RCSINIT\s0options prepended to the argument list, separated by spaces.See.BR ci (1)for details..SH DIAGNOSTICSThe exit status is zero if and only if all operations were successful..SH IDENTIFICATIONAuthor: Walter F. Tichy..brRevision Number: \*(Rv; Release Date: \*(Dt..brCopyright \(co 1982, 1988, 1989 by Walter F. Tichy..brCopyright \(co 1990, 1991 by Paul Eggert..SH "SEE ALSO"ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1),rcsfile(5).brWalter F. Tichy,\*r\*-A System for Version Control,.I "Software\*-Practice & Experience".BR 15 ,7 (July 1985), 637-654..SH BUGSThe separator for revision ranges in the.B \-roption used to be.B \-instead of.BR : ,but this leads to confusion when symbolic names contain.BR \- .For backwards compatibility.B "rlog \-r"still supports the old.B \-separator, but it warns about this obsolete use..br
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -