ci, co, ident, rcs, rcsdiff, rcsmerge, rlog: add pages (#19983)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Om Singh Bais
2025-12-17 23:40:26 +05:30
committed by GitHub
parent a9ff84e817
commit f67702a066
7 changed files with 163 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# ci
> Check in RCS revisions (store file changes in the Revision Control System).
> See also: `co`, `rcs`, `rcsdiff`, `rlog`.
> More information: <https://manned.org/ci>.
- Check in a file and keep the working file unlocked:
`ci -u {{path/to/file}}`
- Check in a file and keep the working file locked:
`ci -l {{path/to/file}}`
- Check in a file with a specific log message:
`ci -m"{{log_message}}" {{path/to/file}}`
- Check in a file, unlocking it but leaving the working file read-only:
`ci {{path/to/file}}`
- Force check-in even if there are no changes:
`ci -f -u {{path/to/file}}`
+25
View File
@@ -0,0 +1,25 @@
# co
> Check out RCS revisions (retrieve working files from the Revision Control System).
> See also: `ci`, `rcs`, `rcsdiff`, `rlog`.
> More information: <https://manned.org/co>.
- Check out the latest revision of a file (retrieves a read-only copy):
`co {{path/to/file}}`
- Check out a file with a lock for editing:
`co -l {{path/to/file}}`
- Check out a specific revision of a file:
`co -r{{revision}} {{path/to/file}}`
- Check out a file and overwrite it if it already exists:
`co -f -l {{path/to/file}}`
- Print a specific revision to `stdout` without creating a file:
`co -p -r{{revision}} {{path/to/file}}`
+17
View File
@@ -0,0 +1,17 @@
# ident
> Identify RCS keyword strings in files.
> See also: `ci`, `co`, `rcs`, `rcsdiff`, `rlog`.
> More information: <https://manned.org/ident>.
- Display RCS identification strings in a file:
`ident {{path/to/file}}`
- Display RCS identification strings, suppressing warnings if no patterns are found:
`ident -q {{path/to/file1 path/to/file2 ...}}`
- Display RCS identification strings from `stdin`:
`cat {{path/to/file}} | ident`
+25
View File
@@ -0,0 +1,25 @@
# 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}}`
+25
View File
@@ -0,0 +1,25 @@
# rcsdiff
> Compare RCS revisions (show differences between revisions in RCS files).
> See also: `ci`, `co`, `rcs`, `rlog`.
> More information: <https://manned.org/rcsdiff>.
- Compare the working file with the latest revision:
`rcsdiff {{path/to/file}}`
- Compare the working file with a specific revision:
`rcsdiff -r{{revision}} {{path/to/file}}`
- Compare two specific revisions of a file:
`rcsdiff -r{{revision1}} -r{{revision2}} {{path/to/file}}`
- Show differences in unified format:
`rcsdiff -u {{path/to/file}}`
- Show differences with context lines:
`rcsdiff -c {{path/to/file}}`
+21
View File
@@ -0,0 +1,21 @@
# rcsmerge
> Merge RCS revisions into the working file.
> See also: `ci`, `co`, `rcs`, `rcsdiff`, `rlog`.
> More information: <https://manned.org/rcsmerge>.
- Merge differences between two revisions into the working file:
`rcsmerge -r{{revision1}} -r{{revision2}} {{path/to/file}}`
- Merge changes from a branch revision into the working file:
`rcsmerge -r{{branch_revision}} {{path/to/file}}`
- Perform a quiet merge (suppress diagnostics):
`rcsmerge -q -r{{revision1}} -r{{revision2}} {{path/to/file}}`
- Print the result to `stdout` instead of overwriting the working file:
`rcsmerge -p -r{{revision1}} -r{{revision2}} {{path/to/file}}`
+25
View File
@@ -0,0 +1,25 @@
# rlog
> Print the revision log of RCS files.
> See also: `ci`, `co`, `rcs`, `rcsdiff`.
> More information: <https://manned.org/rlog>.
- Display the complete revision history of a file:
`rlog {{path/to/file}}`
- Display only the header information (no revision details):
`rlog -h {{path/to/file}}`
- Display information for a specific revision:
`rlog -r{{revision}} {{path/to/file}}`
- Display revisions within a date range:
`rlog -d"{{start_date}}<{{end_date}}" {{path/to/file}}`
- Display revisions by a specific author:
`rlog -w{{author}} {{path/to/file}}`