Renaming files
To rename a file using Perforce, you must first integrate
the file to its new name, then open the file for delete. This process
is required to preserve the file's revision history.
To rename a file:
- Context-click the file the file you want to rename and choose Integrate... The Integrate
dialog is displayed.
- Specify the new filename in the Destination field and click Integrate.
Note that the new file is open for add.
- Context-click the original file and choose Open for Delete. The file is opened
for delete.
- Submit the changelist that contains the integrate and delete actions. The
original file is marked as deleted and the new file is created. Its relationship
to the original file is preserved.