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

MPW Command Reference


UnObsoleteProjectorFile

Built-in

SYNTAX

UnObsoleteProjectorFile filename… [-p] [-project project] [-u user]

DESCRIPTION

The UnObsoleteProjectorFile command causes a file within a project to become active again. This means the following:

Though the file had been inactivated you are now able to check it out for modification or to create additional revisions.

Existing revisions can again be checked out as write-privileged files using the -m option of the CheckOut command.

INPUT

None

OUTPUT

None, unless you request progress and summary information (-p).

STATUS

UnObsoleteProjectorFile can return the following status codes:

0

no errors

1

syntax error

2

processing error

3

system error

PARAMETERS

filename

Specifies one or more files to reactivate.

OPTIONS

-p

Writes progress information to standard output.

-project project

Unobsoletes files of the specified project. This overrides the default in which Projector automatically obsoletes files out of the current project.

-u user

Identifies the name of the current user. You must use this option if the MPW Shell variable {User} is not set or is a null string. Using this option allows you to override the variable's current definition.

EXAMPLES

The following command line unobsoletes the latest revision of MySources.c from the currently mounted project:

UnObsoleteProjectorFile MySources.c

The next command line unobsoletes the latest revision of file.c from the Project∫SubProject∫Sources project:

UnObsoleteProjectorFile file.c -project Project∫SubProject∫Sources

Setting the current user name with the Set command allows you to execute Projector commands without specifying the user name with the -u option. However, if you want to set the user name and unobsolete a file on the same command line, you can use the -u option as shown in this example.

UnObsoleteProjectorFile MySources.c -u Bob

SEE ALSO

CheckOut

DeleteRevisions

NameRevisions

ObsoleteProjectorFile

ProjectInfo

RenameProjectorFile

 
 


Last Updated July 2000