How to restore files or folders in RTC with the original folder structure
2 answers
How should I ask a question in the Forum if I want to receive useful answers?
Shoud you talk about RTC SCM, https://jazz.net/library/#sort=pubDate&project=rational-team-concert&tag=scm provides a good overview. Start with
and maybe Practicing source control archaeology with Rational Team Concert .
Shoud you talk about RTC SCM, https://jazz.net/library/#sort=pubDate&project=rational-team-concert&tag=scm provides a good overview. Start with
and maybe Practicing source control archaeology with Rational Team Concert .
Comments
There were files and folders in the RTC Source control and was by mistake deleted. So i am just checking on how we can restore the deleted files and folders back by reversing the change set. I did manage to reverse the change set but under the pending patches the folder names were not with the original name but with some junk folder names. But inside that folders there were the required files. Now when i check in this folders it gets checked in as unresolved and under that it checks in with junk folder names whereas i was expecting the files and folders to be restored with their original folder names. Can someone please help me on this.
Rather than trying to reverse the change set, I'd suggest just discarding the change set that contains the incorrect deletions. Once everything looks OK in your repository workspace, you can use the "replace" operation to update a stream with that configuration (just make sure there aren't any incoming change sets from that stream, other than the change set that you want to discard). Also warn your users to "accept" that replace, and not redeliver the bad change set. To make this more obvious, change the comment for that change set to something like "BAD-CHANGE-SET: DISCARD and DO NOT DELIVER".