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.
Accepted answer
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.