rcs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rcs [2024/09/16 06:48] – an’ hc9 | rcs [2025/03/05 15:16] (current) – [Basic RCS usage:] zilog | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== RCS Revision Control | + | ===== RCS — A System |
- | RCS is installed on SDF and is used for version control for the HTML tutorial | + | ==== Intro and Background: ==== |
+ | RCS was first released in 1982 by Walter Tichy at Purdue University making it one of the earliest | ||
+ | ==== Why use RCS today? ==== | ||
+ | Although largely supplanted by distributed systems like Git and Mercurial, RCS is still surprisingly useful for small personal projects as well as local scripts and configuration files. | ||
+ | |||
+ | ==== Basic RCS usage: ==== | ||
+ | There are several commands that come with RCS but the following are likely most useful: | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | The '' | ||
+ | |||
+ | === RCS Setup === | ||
+ | Not much preparation is needed to get started managing file revisions with RCS. While not mandatory it is highly recommended that a '' | ||
+ | |||
+ | === Quick Start === | ||
+ | The '' | ||
+ | |||
+ | * create a working directory & RCS sub-dir: | ||
+ | * change to working dir & create a file: '' | ||
+ | * make initial commit of test file: '' | ||
+ | * check file back out & edit again: | ||
+ | * view diffs (working file vs last checked ver.): | ||
+ | * commit new revision of file: '' | ||
+ | * view log of changes: | ||
+ | |||
+ | Specific revisions can be acted upon by passing them to the various commands in the form '' | ||
+ | |||
+ | === RCS by Example === | ||
+ | While comprehensive coverage of all RCS can do is beyond the scope of this introductory tutorial, the basics can be grasped fairly easily and are perhaps best conveyed via an annotated [[RCS Sample Session]]. | ||
+ | |||
+ | ==== RCS Quirks ==== | ||
+ | * no space allowed between options and arguments, i.e. use '' | ||
+ | * delta files ('' | ||
+ | * lock files when you check them //out//, unlock them when you check them //in// | ||
+ | * don't use **-r** by itself with the '' | ||
+ | | ||
+ | ==== Documentation: | ||
+ | Aside from the '' | ||
+ | |||
+ | * //GNU RCS Manual// : https:// | ||
+ | * //RCS Handbook// by Brian O’Donovan (c) 1992, (unpublished) : https:// | ||
+ | * //Applying RCS and SCCS// by Bolinger & Bronsoni, (c) 1995 O' | ||
+ | |||
+ | ==== Misc: ==== | ||
+ | How about a graphical RCS browser((https:// |
rcs.1726469324.txt.gz · Last modified: 2024/09/16 06:48 by hc9