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

MPW Command Reference


DeleteNames

Built-in

SYNTAX

DeleteNames [name1 [name2]… | -a] [-private] [-project project]
[-public] [-r] [-u user]

DESCRIPTION

The DeleteNames command deletes one or more revision names (name1 [name2]…) used to represent a set of revisions under Projector. You can create a revision name by using the NameRevisions command.

If the set of revisions does not belong to the current project, you can use the -project option to specify the project in which the revision name belongs. The -private and -public options allow you to specify whether to delete private or public revision names. You can also delete all revision names in a specified project (-a).

Note
To see which names have been deleted and what their values were, use the -log option of the ProjectInfo command. •

INPUT

None

OUTPUT

None

STATUS

DeleteNames can return the following status codes:

0

no errors

1

syntax error

2

error in processing

PARAMETERS

name1 [name2]…

Specifies one or more revision names to be deleted.

OPTIONS

-a

Deletes all revision names in the project. Use this as an alternative to the name1 [name2]… parameter when you want to delete all revision names in a project.

-private

Deletes private revision names.

-project project

Indicates the project that contains the set of revisions referred to by the revision names. This project then becomes the current project for this command.

If you omit this option, DeleteNames defaults to the current project.

-public

Deletes public names (the default).

-r

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

-u user

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

EXAMPLES

Suppose you have created a revision name Work that is expanded to the files file.c and interactive.c by using the command

NameRevisions Work file.c interactive.c

The following command removes Work from the list of revision names :

DeleteNames Work

SEE ALSO

DuplicateNameRevisions

LockNameRevisions

NameRevisions

ObsoleteNameRevisions

ProjectInfo

UnlockNameRevisions

UnobsoleteNameRevisions

 
 


Last Updated July 2000