Checking out a read-only file under RCS |
|
When you are through modifying your file for the moment, you can check out a "read-only" copy of your file, that is, a copy without write permissions (so no one can modify it) and also with the latest version numbers in its ID keywords (see `Adding ID keywords in an RCS file').
Use the co command to check out a read-only file. For
example, to check out file foo:
% co foo
RCS/foo,v --> foo
revision 1.2
done
Once you have done this, your file will exist in its original location,
but without write permissions (see
`What are permissions?').
If you want to modify the file, use the normal procedure for locking a file. This procedure will overwrite the read-only copy with a writeable working copy; see `Locking a file under RCS control'.