-
-
Notifications
You must be signed in to change notification settings - Fork 5k
ci, co, ident, rcs, rcsdiff, rcsmerge, rlog: add pages #19983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+163
−0
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` | ||
sebastiaanspeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - 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}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` | ||
sebastiaanspeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - 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}}` | ||
sebastiaanspeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Delete a specific revision from the RCS file: | ||
|
|
||
| `rcs -o{{revision}} {{path/to/file}}` | ||
sebastiaanspeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Compare two specific revisions of a file: | ||
|
|
||
| `rcsdiff -r{{revision1}} -r{{revision2}} {{path/to/file}}` | ||
sebastiaanspeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Show differences in unified format: | ||
|
|
||
| `rcsdiff -u {{path/to/file}}` | ||
|
|
||
| - Show differences with context lines: | ||
|
|
||
| `rcsdiff -c {{path/to/file}}` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Merge changes from a branch revision into the working file: | ||
|
|
||
| `rcsmerge -r{{branch_revision}} {{path/to/file}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Perform a quiet merge (suppress diagnostics): | ||
|
|
||
| `rcsmerge -q -r{{revision1}} -r{{revision2}} {{path/to/file}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Print the result to `stdout` instead of overwriting the working file: | ||
|
|
||
| `rcsmerge -p -r{{revision1}} -r{{revision2}} {{path/to/file}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Display revisions within a date range: | ||
|
|
||
| `rlog -d"{{start_date}}<{{end_date}}" {{path/to/file}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - Display revisions by a specific author: | ||
|
|
||
| `rlog -w{{author}} {{path/to/file}}` | ||
Managor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.