Reversing a file deletion and keeping history
![]() Hello,
|
Accepted answer
![]()
Geoffrey Clemm (30.1k●2●30●35)
| answered May 17 '18, 10:59 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER When you use the "reverse" operation, you will keep all the history ... you will see a delete in the history, followed by the version resulting from the reverse. (I have verified this in 6.0.5, but I don't believe this behavior has changed since 6.0.2). Marie Michelin selected this answer as the correct answer
Comments Thanks for your answer Geoffrey.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In step 4, instead of selecting the ones you want to restore, try deselecting the changes you don't want to undo, by applying the "remove from view" operation to them. Then when all that is left is the files you want to restore, select the "auto-resolve" option. When I do that, the "create" operation is just added to the existing history. I'll try that but it will be really long, because it was a "cleaning" change set that removed a lot of filesn and only some of them need to be restored.
I made the test (really long to remove all the changes I want to keep) and indeed it worked.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Glad to hear that it worked! The fact that the first way you tried it didn't maintain history sounds like a bug to me, so I'd suggest filing a defect against RTC for it. Indeed I don't know exactly what I did that made the history lost, because I tried again with "resolve with proposed" only on the files I wanted to get back, and it worked.
showing 5 of 6
show 1 more comments
|