(rcs.info)co


Next: ident Prev: ci Up: Usage
Enter node , (file) or (file)node

2.3 Invoking co
===============

     rcs co [options] file …
     (or “co” instead of “rcs co”)

The co command retrieves a revision from the RCS file, writing a new
working file.  This operation is also known as “checkout”.

‘-f[REV]’
     Force overwrite of working file.

‘-I[REV]’
‘-q[REV]’
     Note: Misc common options.

‘-p[REV]’
     Write to stdout instead of the working file.

‘-r[REV]’
     Normal checkout.

‘-l[REV]’
     Like ‘-r’, but also lock.

‘-u[REV]’
     Like ‘-l’, but unlock.

‘-M[REV]’
     Reset working file mtime (relevant for ‘-l’, ‘-u’).

Multiple flags in ‘-{fIlMpqru}’ may be given, except for ‘-r’, ‘-l’,
‘-u’, which are mutually exclusive.  Note: Revision options.

‘-kSUBST’
     Note: Substitution mode option.

‘-dDATE’
‘-zZONE’
     Note: Date option.  Select latest before or on DATE.

‘-jJOINS’
     Merge using JOINS, a list of ‘REV:REV’ pairs.  *NB*: This option is
     obsolete (Note: rcsmerge).

‘-sSTATE’
     Note: Misc common options.  Select matching state.

‘-S’
     Enable "self-same" mode.  In this mode, the owner of a lock is
     unimportant, just that it exists.  Effectively, this prevents you
     from checking out the same revision twice.

          $ whoami
          ttn

          $ co -l -f z
          RCS/z,v  -->  z
          revision 1.1 (locked)
          done

          $ co -S -l -f z
          RCS/z,v  -->  z
          co: RCS/z,v: Revision 1.1 is already locked by ttn.

‘-T’
     Preserve the modification time on the RCS file even if it changes
     because a lock is added or removed.

‘-wWHO’
     Select matching login WHO.

‘-V’
‘-VN’
‘-xSUFF’
     Note: Misc common options.


automatically generated by info2www version 1.2.2.9