Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Checking out a read-only file under RCS

Tech Computer Center logo

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
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'.

Next: Getting a history of changes to an RCS file
See also: What does a source code control system do?
Previous: Checking in a new revision under RCS
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman,
Last updated: 1995/12/06 21:16:34 UT
QR two-dimensional bar code