O'Reilly logo

Mac OS X in a Nutshell by Chris Stone, Chuck Toporek, Jason McIntosh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required