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

MPW Command Reference


ObsoleteNameRevisions

Built-in

SYNTAX

ObsoleteNameRevisions [name… | -a] [-project projectName] [-r] [-u user]

DESCRIPTION

The ObsoleteNameRevisions command lets you mark a symbolic name as obsolete. Obsolete names do not appear in the Select Files in Name pop-up menu in the Check Out window.

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

INPUT

None

OUTPUT

None, unless you omit the name parameter. If you omit this parameter, ObsoleteNameRevisions write to standard output a list of all the obsolete symbolic names in the current project (and subprojects if the -r option was specified). The list appears in the form of UnobsoleteNameRevisions commands.

STATUS

ObsoleteNameRevisions can return the following status codes:

0

no errors

1

syntax error

2

processing error

3

system error

PARAMETERS

name

Specifies one or more symbolic names to obsolete. See the Output section for the effect of omitting this parameter.

OPTIONS

-a

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

-project projectName

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

-r

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

-u user

Identifies the name of the current user.

EXAMPLES

The following command marks the symbolic name v7.6 as obsolete so that it will no longer appear in the Select Files in Name pop-up menu in the Check Out window.

ObsoleteNameRevisions v7.6

SEE ALSO

DeleteNames

DuplicateNameRevisions

LockNameRevisions

NameRevisions

ProjectInfo

UnlockNameRevisions

UnobsoleteNameRevisions

 
 


Last Updated July 2000