Name

admin

Synopsis

admin
  [ -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

Option

Description

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

-L

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.

-q

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.

-U

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.