[ -b[rev] ]
  [ -cstring ]
  [ -kkflag ]
  [ -l[rev] ]
  [ -L ]
  [ -mrev:msg ]
  [ -nname[:[rev]] ]
  [ -Nname[:[rev]] ]
  [ -orange ]
  [ -q ]
  [ -sstate[:rev]
  [ -t[file] ]
  [ -t-string ]
  [ -u[rev] ]
  [ -U ]
  [ files  ]

The admin command is used to perform administrative functions. If a cvsadmin user group exists, then only those users in that group will be able to run admin with options other than -k. Additional options that may be used with the admin command are listed in Table 18-9.

Table 18-9. admin options



-b[ rev ]

Set the default branch.

-c s tring

Obsolete. Set the comment leader.

-k k flag

Set the default keyword substitution mode.

-l[ rev ]

Lock the specified revision.


Enable strict locking.

-m rev:msg

Change the revision’s log message.

-n name[:[rev ]]

Give the branch or revision specified the symbolic name name.

-N name[:[rev ]]

The same as -n, except that if name is already in use, it is moved.

-o range

Delete revisions permanently.


Don’t print diagnostics.

-s state[:rev ]

Change the state of a revision.

-t[ file ]

Set the descriptive text in the RCS file.

-t- string

Set the descriptive text in the RCS file to string.

-u[ rev ]

Unlock the specified revision.


Disable strict locking.

If the revision specified for -l is a branch, the latest revision on that branch is used. If no revision is given, the latest revision on the default branch is used.

If the name given for -n ...

Get Mac OS X in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.