Tools: MPW
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Support

MPW Command Reference


UnlockNameRevisions

Built-in

SYNTAX

UnlockNameRevisions name… [-a] [-password password] [-project project]
[-r] [-u user]

DESCRIPTION

The UnlockNameRevisions command lets you unlock a symbolic name locked with LockNameRevisions so it can be changed with the NameRevisions command. If a password was specified on the LockNameRevisions command then the same password must be specified on the UnlockNameRevisions command.

This built-in command was added in the v. 3.5 MPW Shell.

INPUT

None

OUTPUT

None

STATUS

UnlockNameRevisions can return the following status codes:

0

no errors

1

syntax error

2

error in processing

3

system error

PARAMETERS

name

Specifies one or more symbolic names to unlock.

OPTIONS

-a

Represents all the symbolic names in the current project. Can be used in place of the names parameter.

-password password

Names the password required for unlocking. If the password was omitted on the LockNameRevisions command then it must be omitted on the UnlockNameRevisions command also.

-project project

Names the project which contains the symbolic name to unlock. This becomes the current project for this command.

-r

Executes UnlockNameRevisions recursively on the current project and all of its subprojects.

-u user

Names the current user, overriding the {User} MPW Shell variable.

EXAMPLES

The following command unlocks the symbolic name "v7.6". The password "harmony" must have been specified to lock this name.

UnlockNameRevisions v7.6 -password "harmony"

SEE ALSO

DeleteNames

DuplicateNameRevisions

LockNameRevisions

NameRevisions

ObsoleteNameRevisions

ProjectInfo

UnobsoleteNameRevisions

 
 


Last Updated July 2000