How to undelete a file?
Maggie Stearns (106●30●27)
| asked Feb 07 '11, 11:28 a.m.
retagged Jun 19 '15, 5:00 p.m. by Ken Tessier (841●1●7)
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 |
5 answers
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: |
Jeff Foege (452●6●69●60)
| answered Feb 07 '11, 1:49 p.m.
edited Jun 16 '15, 2:43 a.m. by Krzysztof Kaźmierczyk (7.5k●4●80●103)
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 Comments DOH!
|
Hi, Hi: 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. |
DOH! 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! |
|
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.
Comments
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
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.