LinuxCommandLibrary

rlog

Display RCS file revision history

TLDR

Show file history

$ rlog [file.c]
copy
Show specific revision
$ rlog -r[1.5] [file.c]
copy
Show revision range
$ rlog -r[1.1:1.5] [file.c]
copy
Show by date
$ rlog -d"[>2024-01-01]" [file.c]
copy
Show header only
$ rlog -h [file.c]
copy
Show states
$ rlog -s[Exp] [file.c]
copy
Show by author
$ rlog -w[username] [file.c]
copy

SYNOPSIS

rlog [-r revisions] [-d dates] [-h] [options] files

DESCRIPTION

rlog displays RCS (Revision Control System) file history. It shows revision metadata and log messages.
Header information includes filename, working file, and head revision. Access list and locks shown.
Revision listings show author, date, and state. Log messages describe changes.
Date filtering finds revisions in time ranges. Useful for release history.
Author filtering shows one person's contributions. Tracks individual changes.

PARAMETERS

-r REV

Specific revision(s).
-d DATE
Date selection.
-h
Header only.
-t
Header and description.
-s STATE
By state.
-w AUTHOR
By author.
-b
Default branch only.
-L
Ignore locked revisions.
-l
Locked revisions only.

CAVEATS

RCS is largely superseded by Git. File-level versioning only. Less common in modern development.

HISTORY

rlog is part of RCS (Revision Control System), created by Walter Tichy at Purdue in the 1980s. RCS was one of the first version control systems.

SEE ALSO

rcs(1), ci(1), co(1), rcsdiff(1), git(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community