Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions pages/common/ci.md
Original file line number Diff line number Diff line change
@@ -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 changes: 25 additions & 0 deletions pages/common/co.md
Original file line number Diff line number Diff line change
@@ -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 changes: 17 additions & 0 deletions pages/common/ident.md
Original file line number Diff line number Diff line change
@@ -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 changes: 25 additions & 0 deletions pages/common/rcs.md
Original file line number Diff line number Diff line change
@@ -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 changes: 25 additions & 0 deletions pages/common/rcsdiff.md
Original file line number Diff line number Diff line change
@@ -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 changes: 21 additions & 0 deletions pages/common/rcsmerge.md
Original file line number Diff line number Diff line change
@@ -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 changes: 25 additions & 0 deletions pages/common/rlog.md
Original file line number Diff line number Diff line change
@@ -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}}`