Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
rlog(1)
Edit
PageHistory
Diff
Info
LikePages
RLOG !!!RLOG NAME SYNOPSIS DESCRIPTION EXAMPLES ENVIRONMENT DIAGNOSTICS IDENTIFICATION SEE ALSO BUGS ---- !!NAME rlog - print log messages and other information about RCS files !!SYNOPSIS __rlog__ [[ ''options'' ] ''file'' ... !!DESCRIPTION __rlog__ prints information about RCS files. Pathnames matching an RCS suffix denote RCS files; all others denote working files. Names are paired as explained in ci(1). __rlog__ 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 revisions, 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, __rlog__ 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 displayed in Coordinated Universal Time ( UTC ) by default; this can be overridden with __-z__. Without options, __rlog__ prints complete information. The options below restrict this output. __-L__ Ignore RCS files that have no locks set. This is convenient in combination with __-h__, __-l__, and __-R__. __-R__ Print only the name of the RCS file. This is convenient for translating a working pathname into an RCS pathname. __-h__ Print only the RCS pathname, working pathname, head, default branch, access list, locks, symbolic names, and suffix. __-t__ Print the same as __-h__, plus the descriptive text. __-N__ Do not print the symbolic names. __-b__ Print information about the revisions on the default branch, normally the highest branch on the trunk. __-d__''dates'' Print information about revisions with a checkin date/time in the ranges given by the semicolon-separated list of ''dates''. A range of the form ''d1''____''d2'' or ''d2''____''d1'' selects the revisions that were deposited between ''d1'' and ''d2'' exclusive. A range of the form ____''d'' or ''d''____ selects all revisions earlier than ''d''. A range of the form ''d''____ or ____''d'' selects all revisions dated later than ''d''. If ____ or ____ is followed by __=__ then the ranges are inclusive, not exclusive. A range of the form ''d'' selects the single, latest revision dated ''d'' or earlier. The date/time strings ''d'', ''d1'', and ''d2'' are in the free format explained in co(1). Quoting is normally necessary, especially for ____ and ____. Note that the separator is a semicolon. __-l__[[''lockers''] Print information about locked revisions only. In addition, if the comma-separated list ''lockers'' of login names is given, ignore all locks other than those held by the ''lockers''. For example, __rlog -L -R -lwft RCS/*__ prints the name of RCS files locked by the user __wft__. __-r__[[''revisions''] prints information about revisions given in the comma-separated list ''revisions'' of revisions and ranges. A range ''rev1''__:__''rev2'' means revisions ''rev1'' to ''rev2'' on the same branch, __:__''rev'' means revisions from the beginning of the branch up to and including ''rev'', and ''rev''__:__ means revisions starting with ''rev'' to the end of the branch containing ''rev''. 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 __.__ means the latest revision in that branch. A bare __-r__ with no ''revisions'' means the latest revision on the default branch, normally the trunk. __-s__''states'' prints information about revisions whose state attributes match one of the states given in the comma-separated list ''states''. __-w__[[''logins''] prints information about revisions checked in by users with login names appearing in the comma-separated list ''logins''. If ''logins'' is omitted, the user's login is assumed. __-T__ This option has no effect; it is present for compatibility with other RCS commands. __-V__ Print RCS 's version number. __-V__''n'' Emulate RCS version ''n'' when generating logs. See co(1) for more. __-x__''suffixes'' Use ''suffixes'' to characterize RCS files. See ci(1) for details. __rlog__ prints the intersection of the revisions selected with the options __-d__, __-l__, __-s__, and __-w__, intersected with the union of the revisions selected by __-b__ and __-r__. __-z__''zone'' specifies the date output format, and specifies the default time zone for ''date'' in the __-d__''dates'' option. The ''zone'' should be empty, a numeric UTC offset, or the special string __LT__ for local time. The default is an empty ''zone'', which uses the traditional RCS format of UTC without any time zone indication and with slashes separating the parts of the date; otherwise, times are output in ISO 8601 format with time zone indication. For example, if local time is January 11, 1990, 8pm Pacific Standard Time, eight hours west of UTC , then the time is output as follows: ''option time output ''__-z 1990/01/12 04:00:00__ '' (default) ''__-zLT 1990-01-11 20:00:00-08 -z+05:30 1990-01-12 09:30:00+05:30 __ !!EXAMPLES rlog -L -R RCS/* rlog -L -h RCS/* rlog -L -l RCS/* rlog RCS/* The first command prints the names of all RCS files in the subdirectory __RCS__ 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. !!ENVIRONMENT __RCSINIT__ options prepended to the argument list, separated by spaces. See ci(1) for details. !!DIAGNOSTICS The exit status is zero if and only if all operations were successful. !!IDENTIFICATION Author: Walter F. Tichy. Manual Page Revision: 5.9; Release Date: 1995/06/16. Copyright 1982, 1988, 1989 Walter F. Tichy. Copyright 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert. !!SEE ALSO 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, ''Software--Practice '' __15__, 7 (July 1985), 637-654. !!BUGS The separator for revision ranges in the __-r__ option used to be __-__ instead of __:__, but this leads to confusion when symbolic names contain __-__. For backwards compatibility __rlog -r__ still supports the old __-__ separator, but it warns about this obsolete use. ----
11 pages link to
rlog(1)
:
rcsmerge(1)
Man1r
ci(1)
co(1)
ident(1)
rcs(1)
rcsclean(1)
rcsdiff(1)
rcsfile(5)
rcsfreeze(1)
rcsintro(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.