RCS is available under Linux and Windows. RCS makes it's own
copy of the document which retains all of the changes. Under
Linux
this file has the same name as the document with the addition of ",v"
to the file name. Under windows RCS keeps it's copy of the
docment in an RCS folder in the same directory as the document (by
default).
ci -l <filename>
Whenever you check in a document, RCS will ask for a description. The description can be multiple lines and can be stopped by typing a period "." on it's own line in the description. The -l refers to a file lock. Without the -l, the file cannot be edited. By using the -l, the file can be changed and then checked in again after the edits have been completed.
After you make additional changes to the document, you can check it
in again, with the same command. RCS again will ask for a
description and will update it's revision number of the document.
rlog <filename>
The result will be a list of all revisions, along with their
descriptions.
co -l <filename>
RCS will extract the latest version of the document from it's file. Becareful, this may overwrite the copy in the directory that you are using.
To check out a particular revision, use the following command:
co -l -r1.x <filename>
where 1.x is the revision, such as 1.1, 1.2, 1.3, etc.
ci -l -f <filename>
If ci -l <filename> does not work, and you get a message about "no lock set by <user>", then the following commands will allow you to check in the file:
rcs -l <filename>
ci -l <filename>
Back To Main Page For List Of Other Documents