Revert changes of binary files
Hi,
I have found how to revert changes when it comes to txt files; however, I don't know how to revert changes of binary files. Any advice? Regards, Roman |
4 answers
If you see the change in the pending changes view, select it and 'Undo' - as you would do for a text change.
Otherwise, right click on the file from wherever you see it (e.g. from the package explorer) > Team > Show History. Then it is likely you want to select the most recent change for that file and 'discard'. That will return your file to the state it was in before that change. If that doesn't help, please provide more details :-) |
Geoffrey Clemm (30.1k●3●30●35)
| answered Apr 02 '08, 10:52 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It looks like "reverse" is trying to create a "patch" to apply to the
version to return it to its previous state, instead of just taking the previous state and making it be the latest state (just speculating here .... Chris can confirm). And I'm assuming Roman doesn't want to just "discard" the change set, because he wants to deliver to the team stream the fact that he's backing out the change (which "reverse" would do, but "discard" does not). Cheers, Geoff Roman Smirak wrote: Ok, I followed the guideline Reversing a change set (Managing change and |
We will be fixing this for 1.0. You will be able to reverse or load the binary files from a change-set shown in the Change Explorer.
https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=49748 |
In case you are still looking for a workaround:
Select the file (package explorer, etc.) > Team > Show History Then select the row that represents the version you want to return to. Right click > load. You now have an outgoing change-set with a change that brings back that particular version. Bizarre - Roman apparently replied to my earlier post but I don't see it in the web ui. I only see Geoff's post quoting Roman's answer. |
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.