Rename items in a working copy using one of the following methods:
Subversion implements a rename as a move operation. As a result, the original file is marked for deletion and added to the working copy with the new name.
For example:
JSClassRef.cpp
is selected for rename:
JSClassRef.cpp
is renamed to JSClassTypeRef.cpp
:
JSClassRef.cpp
is scheduled for deletion and JSClassTypeRef.cpp
is scheduled to be added:
You can use the Revert function to undo a rename using the following steps:
JSClassTypeRef.cpp
) which is still scheduled for addition to the repository and remove the file using the Delete function.In order to preserve the rename operation correctly in the repository's history, it is recommended that you commit both the deleted and added items at the same time.