Rename in RTC shell (Windows Explorer integration)
Accepted answer
You can easily recover the original in the Shell. You need to navigate to View->Explorer Bar-> Team Concert Pending Changes View. This opens up a Pending Changes view within the explorer and it shows your changes just like it would do in a rich client.
So for example a moved file would show up as a +<file-name> in the new folder and a -<file-name> in the old one.
Undoing those changes would restore the previous state of your files.
Cheers
--Rupa
2 other answers
When I rename the file in Windows Explorer (F2), not from context menu, all history seem gone. Is this restriction ? How can I restore previous file ?If you rename outside of RTC SCM, it views the change as a delete and a file add. RTC SCM doesn't know if you performed a rename or deleted and added another file. This is the reason history is lost. It's best to use the RTC SCM rename action to rename. It will keep track of the change and preserve history.
To restore, you'll have to discard the change set that did the rename improperly. Then redo the rename with an RTC SCM rename action. I'm not familiar with the shell integration so I'm not sure of the proper method of performing the rename.