RLOG(1)
π RLOG(1) β bestie, let's read some RCS lore π
okay so welcome to rlog(1), straight outta the General Commands Manual, where we print log messages and other info about RCS files. This is the rlog page, and we're gonna go through every option like it's a group-chat recap. No cap, all the facts are staying. π«Ά
πΈ NAME πΈ
rlog β print log messages and other information about RCS files β¨
β¨ SYNOPSIS β¨
rlog [ options ] file ...
π¦ DESCRIPTION π¦
rlog prints information about RCS files.
Filenames matching an RCS suffix denote RCS files; all others denote working files. Names are paired as explained in ci(1).
For each RCS file, rlog prints the following: RCS file name, working file name, 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.
Option tour, bestie β every single one is here: π
-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 file name into an RCS file name.-hβ Print only the RCS file name, working file name, 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.-ddatesβ Print information about revisions with a checkin date/time in the ranges given by the semicolon-separated list of dates. A range of the formd1<d2ord2>d1selects the revisions that were deposited betweend1andd2exclusive. A range of the form<dord>selects all revisions earlier thand. A range of the formd<or>dselects all revisions dated later thand. If<or>is followed by=then the ranges are inclusive, not exclusive. A range of the formdselects the single, latest revision dateddor earlier. The date/time stringsd,d1, andd2are in the free format explained inco(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 listlockersof 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 userwft.-r[revisions]β prints information about revisions given in the comma-separated listrevisionsof revisions and ranges. A rangerev1:rev2means revisionsrev1torev2on the same branch,:revmeans revisions from the beginning of the branch up to and includingrev, andrev:means revisions starting withrevto the end of the branch containingrev. 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-rwith no revisions means the latest revision on the default branch, normally the trunk.-sstatesβ prints information about revisions whose state attributes match one of the states given in the comma-separated liststates.-w[logins]β prints information about revisions checked in by users with login names appearing in the comma-separated listlogins. Ifloginsis omitted, the user's login is assumed.-qβ This option has no effect; it is provided for consistency with other commands.-Tβ This option has no effect; it is present for compatibility with other RCS commands.-Vβ Print RCS's version number.-Vnβ Emulate RCS versionnwhen generating logs. Seeco(1)for more.-xsuffixesβ Use suffixes to characterize RCS files. Seeci(1)for details.
Also: 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.
-zzoneβ specifies the date output format, and specifies the default time zone for date in the-ddatesoption. The zone should be empty, a numeric UTC offset, or the special stringLTfor 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. A backslash escapes spaces within an option. TheRCSINIToptions are prepended to the argument lists of most RCS commands. UsefulRCSINIToptions include-q,-V,-x, and-z.RCS_MEM_LIMITβ Normally, for speed, commands either memory map or copy into memory the RCS file if its size is less than the memory-limit, currently defaulting to ``unlimited''. Otherwise (or if the initially-tried speedy ways fail), the commands fall back to using standard i/o routines. You can adjust the memory limit by settingRCS_MEM_LIMITto a numeric valuelim(measured in kilobytes). An empty value is silently ignored. As a side effect, specifyingRCS_MEM_LIMITinhibits fall-back to slower routines.TMPDIRβ Name of the temporary directory. If not set, the environment variablesTMPandTEMPare inspected instead and the first value found is taken; if none of them are set, a host-dependent default is used, typically/tmp.
π DIAGNOSTICS π
The exit status is zero if and only if all operations were successful. That's the whole vibe check, periodt.
π IDENTIFICATION π
- Author: Walter F. Tichy.
- Manual Page Revision: 5.10.1; Release Date: 2024-10-01.
- Copyright Β© 2010-2022 Thien-Thi Nguyen.
- Copyright Β© 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert.
- Copyright Β© 1982, 1988, 1989 Walter F. Tichy.
π₯ SEE ALSO π₯
ci(1),co(1),ident(1),rcs(1),rcsdiff(1),rcsmerge(1),rcsfile(5).- Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654.
The full documentation for RCS is maintained as a Texinfo manual. If the info(1) and RCS programs are properly installed at your site, the command
info rcs
should give you access to the complete manual. Additionally, the RCS homepage:
http://www.gnu.org/software/rcs/
has news and links to the latest release, development site, etc.
π BUGS π
β οΈ old-school alert: the separator for revision ranges in the-roption used to be-instead of:, but this leads to confusion when symbolic names contain-. For backwards compatibilityrlog -rstill supports the old-separator, but it warns about this obsolete use.
okay bestie, that's the whole page π This cutie is GNU RCS 5.10.1, dated 2024-10-01. mwah, go read your logs π β¨
π¦ where this page comes from
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms