Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

What is the equivalent SCM command for workspace replace-components with snapshot option in RTC 6.0 ?

I used this command in RTC 4.0.1, where we used to move code from development stream to Integration stream.

scm workspace replace-components target-stream snapshot snapshot-name --all -r repository_url -u userid -P password

This command used to sync the code in target-stream based on what is there in snapshot-name

When I run this command, in RTC 6. I get a message that it is depreciated.

I know, I can run this command by setting SHOW_DEPRECATED_HELP=1. But my worry here is if in next release of RTC the support of this is removed. Thus wanted to know the equivalent of this in RTC 6.

0 votes


Accepted answer

Permanent link
Tushar,
You can still run the command "scm workspace replace-components" and it will work. It will not be removed anytime soon. This command has been replaced with "scm set component" and it is recommended that you start using the new command name.
The SHOW_DEPRECATED_HELP can be set so that you could get the command help text for the deprecated commands.
Tushar Mehta selected this answer as the correct answer

0 votes

Comments

Thanks a lot it worked.

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,016
× 158
× 113

Question asked: Jul 07 '16, 2:24 p.m.

Question was seen: 2,754 times

Last updated: Jul 12 '16, 12:16 a.m.

Confirmation Cancel Confirm