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

using scm tools, how do I load a earlier baseline of a component in the workspace

 Hi,

In RTC 5.0.1 using scm tools, how do I load a earlier baseline of a component in the workspace? I have multiple component in a stream but I load only one component in workspace and there are no snapshots.

  Thanks for your help!

Rama

0 votes


Accepted answer

Permanent link
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.
Rama SCM selected this answer as the correct answer

0 votes

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!!

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,029
× 1,204
× 113

Question asked: Apr 27 '15, 12:06 p.m.

Question was seen: 4,268 times

Last updated: May 01 '15, 12:04 p.m.

Confirmation Cancel Confirm