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

How to undelete a file?

Hi:

I'm using 2.0.0.2iFix4.

I've deleted a file and delivered it. Later, I want to bring that file back.
How do I do that? I don't want to create a new file with the same name as it won't have the history.

-Maggie

0 votes

Comments
Hi:

I'm using 2.0.0.2iFix4.

I've deleted a file and delivered it. Later, I want to bring that file back.
How do I do that? I don't want to create a new file with the same name as it won't have the history.

-Maggie



This should help you.

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.svn.doc/topics/t_import.html

Hi:

I'm using 2.0.0.2iFix4.

I've deleted a file and delivered it. Later, I want to bring that file back.
How do I do that? I don't want to create a new file with the same name as it won't have the history.

-Maggie



This should help you.

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.svn.doc/topics/t_import.html

Can you double check this link? It sends me to documentation on importing a subversion dump file. I'm not sure how that is related.



5 answers

Permanent link
Hi,

You can "Reverse" a Change Set that has been delivered. In this case, you would find the Change Set (and if applicable, the associated work item) that has the deleted file. You can find it in the History view. Then you can right click on the change set and select "Reverse". When you check in and deliver this "Reverse" action, the deleted file will be back. This would be the case where you only had one file in the Change Set.

If you had more than one file in the Change Set, then you will have to redo the fixes for the files that you "Reversed". It is a little bit of work, but you get the deleted file back.

Hi:

I'm using 2.0.0.2iFix4.

I've deleted a file and delivered it. Later, I want to bring that file back.
How do I do that? I don't want to create a new file with the same name as it won't have the history.

-Maggie

1 vote


Permanent link
Try this one:

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/t_scm_eclipse_restore_deleted.html

1 vote


Permanent link
Hi,

You can "Reverse" a Change Set that has been delivered. In this case, you would find the Change Set (and if applicable, the associated work item) that has the deleted file. You can find it in the History view. Then you can right click on the change set and select "Reverse". When you check in and deliver this "Reverse" action, the deleted file will be back. This would be the case where you only had one file in the Change Set.

If you had more than one file in the Change Set, then you will have to redo the fixes for the files that you "Reversed". It is a little bit of work, but you get the deleted file back.

Hi:

I'm using 2.0.0.2iFix4.

I've deleted a file and delivered it. Later, I want to bring that file back.
How do I do that? I don't want to create a new file with the same name as it won't have the history.

-Maggie


Thanks, but is that my only option? The changeset that I would be reversing is very large and that seems like a lot of work to get back the one file.

0 votes


Permanent link
DOH!

Sorry about that.

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/t_scm_eclipse_restore_deleted.html


Thanks! That looks good! We'll try it.

Thanks! The ability to select the file we cared about and select "Merge into Workspace" was the key step to avoid reversing the entire changeset. Thanks!

0 votes


Permanent link


Thanks! The ability to select the file we cared about and select "Merge into Workspace" was the key step to avoid reversing the entire changeset. Thanks!


No problem! I'm glad I was able to help. I'm new to RTC as well and still trying to get head around how RTC wants to do things verses other traditional SCM tools.

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
× 1,381

Question asked: Feb 07 '11, 11:28 a.m.

Question was seen: 8,838 times

Last updated: Jun 19 '15, 5:00 p.m.

Confirmation Cancel Confirm