![]() |
![]() |
![]() |
|
![]() | |
![]() |
![]() |
![]() |
![]() |
![]() |
Log In | Not a Member? |
Support
![]() |
![]() |
SYNTAX
DuplicateNameRevisions oldName newName… [-private] [-project project] DESCRIPTION The DuplicateNameRevisions command duplicates a symbolic name used to represent a set of file revisions under Projector. You can create a symbolic 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 symbolic name belongs. The -private and -public options allow you to specify whether to duplicate private or public symbolic names. This built-in command was added in the v. 3.5 MPW Shell.
Note INPUT None OUTPUT None STATUS
DuplicateNameRevisions can return the following status codes:
PARAMETERS oldName The existing symbolic name that you want to duplicate. newName… The new symbolic name that you want to create. OPTIONS -private Creates private symbolic names. -project project Indicates the project that contains the set of revisions referred to by the symbolic names. This project then becomes the current project for this command. If you omit this option, DuplicateNameRevisions defaults to the current project. -public Creates public names (the default). -r Executes DuplicateNameRevisions 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 symbolic name Work that is expanded to the files file.c and interactive.c by using the command NameRevisions Work file.c interactive.c You could create a new symbolic name Play that expands to the same two files by using the following command DuplicateNameRevisions Work Play SEE ALSO
|