How to undelete a file?
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.
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
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
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!
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.
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.
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!
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.
Comments
Jeff Foege
Jun 16 '15, 3:09 a.m.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
Maggie Stearns
Jun 16 '15, 3:10 a.m.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.