This can be done in SourceSafe, but this requires a little manual intervention:
- First make sure that the file you want to rename is checked.
- In SourceSafe, right-click the file and select
Rename from the menu (or, simply, just press F2), and then rename the file. - This only renames the file in SourceSafe. You will need to check the renamed file in the working folder, and then delete the source file from your working copy to complete the renaming.
If you look at the history of files (right-click, then Show History or altenatively, Ctrl-H ), you will see that its entire history is not corrupted. Note, however, that SourceSafe will reference the file by its new name in all history entries for the file. Actual renaming is tracked at the project folder level. If you look at the history of the folder containing the renamed file, you will see a history element indicating that the file has been renamed from oldname to newname .
Addendum: note on finding older versions of renamed files from history
Joe White commented on this answer that SourceSafe does not respect the original file name when you do Get in an older version of the renamed file. This is true if you are getting an older version from the file history viewer.
However, if you use Get an older version of your code (before renaming) from the parent folder history viewer, SourceSafe will correctly use the original file name when it puts the files in your working folder.
The reason for this behavior is that SourceSafe tracks renaming at the parent folder level, not at the level of each file.
source share