Version

menu_open

Renaming Files When Using Perforce

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] Caution

Do not rename the Default Work Units as they are critical to the project.

To rename a file in your project:

  1. From the menu bar, click Project > File Manager....

    The File Manager opens.

  2. Right-click the Work Unit file you want to rename, and select Rename from the menu.

    The Rename File dialog box opens.

  3. In the Name field, type the new name for your file.

  4. 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.

  5. 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.”

  6. Select both the old and new files.

  7. Right-click and select Submit Changes from the menu.

    The Description dialog box opens.

  8. 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.

  9. Click OK to close the Process Log.

  10. 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.

  11. Click Yes.

    The latest version of the project is loaded and the file has been renamed.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise