using scm tools, how do I load a earlier baseline of a component in the workspace
Accepted answer
Hi Rama,
To load the source files from an earlier baseline, you need to use "scm set component" command to replace the component from the workspace using that baseline, then you can load the component.
Please refer to http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.0/com.ibm.team.scm.doc/topics/set_component.html?lang=en for the "scm set component" command usage.
To load the source files from an earlier baseline, you need to use "scm set component" command to replace the component from the workspace using that baseline, then you can load the component.
Please refer to http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.0/com.ibm.team.scm.doc/topics/set_component.html?lang=en for the "scm set component" command usage.
Comments
Thanks Lily!
However, this need me to replace the snapshot and not the specific baseline. Even though I load one component in my workspace.
replace-type | Type of the item to replace. One of: "workspace", "stream", or "snapshot" |
I was able achieve it by creating a new stream, loading the specific component (with specific baseline) and then creating the workspace on that stream. Not sure if there is a better way to do that.
Thanks!
Rama
You can use the command to replace a baseline. The command should be:
scm set component -b <baseline-to-replace> <your-workspace> workspace <your-workspace> <component>
Thanks for your help Lily!!