Next / Previous / Index / TCC 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
    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'.


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 Computer Center: Help System
TCC Publications
Home: About New Mexico Tech

John Shipman, john@nmt.edu

Last updated: 1995/12/06 21:16:34 UT
URL: http://www.nmt.edu/tcc/help/tool/rcs/co.html