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 the users in that group will be able to run admin with options other than - k. Options that may be used with the admin command are listed here.

-b[rev]

Set the default branch.

-cstring

Obsolete. Set the comment leader.

-kkflag

Set the default keyword substitution mode.

-l[rev]

Lock the specified revision.

-L

Enable strict locking.

-mrev:msg

Change the revision’s log message.

-nname[:[rev]]

Give the specified branch or revision the symbolic name name.

-Nname[:[rev]]

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

-orange

Delete revisions permanently.

-q

Don’t print diagnostics.

-sstate[: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 will be used. If no revision is given, the latest revision on the default branch is used.

If the name given for -n is already in use, an error is generated. You can use -N to move a tag (change the revision associated with the tag); however, you should normally use cvs tag

Get Linux in a Nutshell, Fourth Edition 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.