It's all about the answers!

Ask a question

How to undo multiple changes using scm command line?


Arun Koshi (611) | asked Jul 29 '14, 12:37 p.m.
I am using scm command line. I would like to know if its possible to undo multiple files/directories without specifying each path separately as undo parameter as shown in the example here http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.0/com.ibm.team.scm.doc/topics/undo_change_ex.html?lang=en

Is it possible to undo all changes in a workspace in one shot? or maybe undo all the changes in a specific directory in one shot?

Running RTC version 4.0.4

One answer



permanent link
Lily Wang (4.9k714) | answered Jul 29 '14, 9:41 p.m.
 Hi Arun,
There's a same discussion in https://jazz.net/forum/questions/141370/scm-how-to-restore-a-workspace-to-pristine.
"scm undo" can not undo all files in a directory. You can either write a script as suggested in above link, or use "scm unload" to unload the workspace and then load the components again.

Your answer


Register or 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.