Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to restore files or folders in RTC with the original folder structure

 How to restore files or folders in RTC with the original folder structure

0 votes



2 answers

Permanent link
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 .   

0 votes

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.


Permanent link
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".

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Dec 21 '16, 2:00 p.m.

Question was seen: 2,446 times

Last updated: Dec 21 '16, 7:26 p.m.

Confirmation Cancel Confirm