[BACK]Return to rcs.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / rcs

Diff for /src/usr.bin/rcs/rcs.1 between version 1.43 and 1.44

version 1.43, 2006/04/29 05:10:16 version 1.44, 2006/05/01 14:53:24
Line 74 
Line 74 
 See the respective manual pages for more information  See the respective manual pages for more information
 about these utilities.  about these utilities.
 .Pp  .Pp
 Files may be selected by  
 .Em revision  
 or, where no revision is specified,  
 the latest revision of the default branch is used.  
 Revisions are specified either by using the  
 .Fl r  
 option or  
 by appending the revision number to any option that supports it.  
 .Pp  
 .Nm  
 supports the notion of  
 .Em state .  
 The state is an arbitrary string of characters used to describe a file  
 (or a specific revision of a file).  
 States can be set or changed using the  
 .Fl s  
 option, for RCS tools which support it.  
 The state of a file/revision can be modified without having to check in  
 a new file/revision.  
 The default state is  
 .Sq Exp  
 (Experimental).  
 Examples of states could be  
 .Sq Dev ,  
 .Sq Reviewed ,  
 or  
 .Sq Stab .  
 .Pp  
 .Nm  
 also supports  
 keyword substitution \(en  
 see  
 .Sx KEYWORD SUBSTITUTION ,  
 below, for more information.  
 .Pp  
 The following options are supported:  The following options are supported:
 .Bl -tag -width "-e usersXX"  .Bl -tag -width "-e usersXX"
 .It Fl A Ns Ar oldfile  .It Fl A Ns Ar oldfile
Line 144 
Line 109 
 subdirectory or, if that fails, in the current directory.  subdirectory or, if that fails, in the current directory.
 Files created this way contain no revision.  Files created this way contain no revision.
 .It Fl k Ns Ar mode  .It Fl k Ns Ar mode
 Specify the keyword substitution mode.  Specify the keyword substitution mode (see below).
 .It Fl L  .It Fl L
 Enable strict locking on the RCS files.  Enable strict locking on the RCS files.
 .It Fl l Ns Op Ar rev  .It Fl l Ns Op Ar rev
Line 192 
Line 157 
 Sets the state of revision  Sets the state of revision
 .Ar rev  .Ar rev
 to the identifier  to the identifier
 .Ar state .  .Ar state
   (see below).
 The specified value may not contain a space character.  The specified value may not contain a space character.
 .It Fl T  .It Fl T
 Preserve the modification time of RCS files.  Preserve the modification time of RCS files.
Line 223 
Line 189 
 .Sq /  .Sq /
 character.  character.
 .El  .El
   .Sh BRANCHES AND REVISIONS
   Files may be selected by
   .Em revision
   or, where no revision is specified,
   the latest revision of the default
   .Em branch
   is used.
   Revisions are specified either by using the
   .Fl r
   option or
   by appending the revision number to any option that supports it.
   Branches are selected using the
   .Fl b
   option.
   .Pp
   A file's revision consists of two elements:
   release number and level number.
   For example, revision 2.3 of a file denotes release 2, level 3.
   Levels may also be subdivided into sublevels:
   this might happen, for example,
   if a parallel development is forked from a lower level revision.
   The primary levels and the sublevels belong to separate branches:
   the primary levels belong to a branch called HEAD,
   while sublevels belong to branches specified by revision.
   .Pp
   .Nm
   also supports the notion of
   .Em state .
   The state is an arbitrary string of characters used to describe a file
   (or a specific revision of a file).
   States can be set or changed using the
   .Fl s
   option, for RCS tools which support it.
   The state of a file/revision can be modified without having to check in
   a new file/revision.
   The default state is
   .Sq Exp
   (Experimental).
   Examples of states could be
   .Sq Dev ,
   .Sq Reviewed ,
   or
   .Sq Stab .
   .Pp
   In order to make large groups of RCS files more manageable,
   RCS tools have the ability to select files by their
   .Em symbolic name .
   Thus files can be selected by their symbolic name,
   rather than numerical revision.
   .Xr ci 1
   .Fl N
   and
   .Fl n
   are used to set symbolic names for files.
   .Pp
   The following methods of file selection are therefore available:
   revision number, state, and symbolic name.
   For options which take as argument
   .Ar rev
   or
   .Ar state ,
   any of these methods may be used.
   Some examples:
   .Bd -literal -offset indent
   $ co -r"myproject" foo.c
   $ rcs -m1.3:update foo.c
   $ ci -s"Exp" bar.c
   .Ed
 .Sh KEYWORD SUBSTITUTION  .Sh KEYWORD SUBSTITUTION
 As long as source files are edited inside a working directory,  As long as source files are edited inside a working directory,
 their state can be determined using the  their state can be determined using the

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44