HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rcs — Revision Control System - manage RCS file attributes. See also: `ci`, `co`, `rcsdiff`, `rlog`. More

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandclimanagecontrolrcssystemrevision

Problem

How to use the rcs command: Revision Control System - manage RCS file attributes. See also: ci, co, rcsdiff, rlog. More information: <https://manned.org/rcs>.

Solution

rcs — Revision Control System - manage RCS file attributes. See also: ci, co, rcsdiff, rlog. More information: <https://manned.org/rcs>.

Unlock a revision locked by another user (requires access):
rcs -u {{path/to/file}}


Lock a specific revision of a file:
rcs -l{{revision}} {{path/to/file}}


Set the strict locking mode (require lock for check-in):
rcs -L {{path/to/file}}


Add or replace a log message for a specific revision:
rcs -m{{revision}}:"{{new_message}}" {{path/to/file}}


Delete a specific revision from the RCS file:
rcs -o{{revision}} {{path/to/file}}

Code Snippets

Unlock a revision locked by another user (requires access)

rcs -u {{path/to/file}}

Lock a specific revision of a file

rcs -l{{revision}} {{path/to/file}}

Set the strict locking mode (require lock for check-in)

rcs -L {{path/to/file}}

Add or replace a log message for a specific revision

rcs -m{{revision}}:"{{new_message}}" {{path/to/file}}

Delete a specific revision from the RCS file

rcs -o{{revision}} {{path/to/file}}

Context

tldr-pages: common/rcs

Revisions (0)

No revisions yet.