It's all about the answers!

Ask a question

Roll back the changeset inRTC


Yuan Xu (155) | asked Jun 16 '15, 5:43 a.m.
retagged Jun 19 '15, 5:25 p.m. by Ken Tessier (84117)
If there are 2 items in the change set, after I accept the first and find it is wrong, how can I roll back the accept operation, so that I can test the second change without the effect of first?

Accepted answer


permanent link
Ralph Schoon (61.2k33643) | answered Jun 17 '15, 3:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Underneath  
http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html 

especially underneath 

http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html

You can find all the commands supported by the SCM Command Line. Since this is not one command, I can't give it to you.

Examples you need: 
http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.team.scm.doc/topics/show_history.html
http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.team.scm.doc/topics/suspend.html
http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.team.scm.doc/topics/undo.html


Yuan Xu selected this answer as the correct answer

Comments
Yuan Xu commented Jun 17 '15, 5:15 a.m.

thank you, Ralph

One other answer



permanent link
Ralph Schoon (61.2k33643) | answered Jun 16 '15, 6:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On the component select Show History.
Select the change set you want to get rid of.
Select suspend to pull it out of your workspace. You can resume it later.

Also see Jazz Source Control FAQ for common questions.


Comments
Yuan Xu commented Jun 16 '15, 7:13 a.m.

Can I do this with command?


Ralph Schoon commented Jun 16 '15, 7:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Why would you want to? However, I am pretty sure you can. Here is the Help for 5.0.2: http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html


Yuan Xu commented Jun 17 '15, 2:54 a.m.

 I want to do this by a script, so I need the command..

Your answer


Register or to post your answer.