Version
You can rename a file in your project, but before doing so you should make sure that no other team members are working on the file. If you do rename a file while others have the file checked out, they will run into problems when they try to submit their changes to the depot.
When Perforce renames a file, it opens the current file for delete and creates an exact copy of the file with the new name. These files are not automatically updated in the depot, so after the rename is complete, you must submit the changelist to the depot. Before you can rename a file, it must be checked into the depot.
Caution | |
---|---|
Do not rename the Default Work Units as they are critical to the project. |
To rename a file in your project:
From the menu bar, click Project > File Manager....
The File Manager opens.
Right-click the Work Unit file you want to rename, and select Rename from the menu.
The Rename File dialog box opens.
In the Name field, type the new name for your file.
Click OK.
The Process Log dialog box opens showing that a copy of the file was created with the new name using the branch command and the old file was opened for delete.
Click OK to close the Process Log.
The status of the old file is set to “delete,” and a new file has been created with the status set to “branch.”
Select both the old and new files.
Right-click and select Submit Changes from the menu.
The Description dialog box opens.
Type in a useful description of the change and click OK.
The Process Log opens showing the deletion of the original file and the addition of the newly renamed file.
Click OK to close the Process Log.
Click Close to close the File Manager.
The Project dialog box opens prompting you to reload the latest version of the project because changes have been made externally to the project.
Click Yes.
The latest version of the project is loaded and the file has been renamed.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise