It's all about the answers!

Ask a question

How can we deliver specific baseline from one stream to another by lscm cammand ?


Rahi J (29637) | asked Aug 30 '17, 1:56 a.m.
retagged Sep 01 '17, 11:03 a.m. by Ken Tessier (84117)

Hi,


We have two streams
1. Development stream
2. Integration stream

We want to deliver Specific baseline(e.g. baseline-10) from Development to Integration.
How can we do that by LSCM cammand ?

Manually we can do that by Change of flow target.

Cheers!


Comments
Geoffrey Clemm commented Aug 30 '17, 2:23 a.m. | edited Aug 30 '17, 2:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 When you say 'deliver', do you mean what RTC calls a deliver (which is effectively a "merge"), or do you mean 'replace'.   The difference is that a replace will effectively back-out any change sets in the target stream that aren't in the source baseline, while a deliver will not.

2 answers



permanent link
Ralph Schoon (63.4k33646) | answered Aug 30 '17, 2:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I don't know off of the top of my head but:

Please see the command line reference here: https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/c_scm_cli.html

https://jazz.net/library/#sort=pubDate&tag=SCM are all the articles around SCM in the library. They include Source control process recipes for Rational Team Concert and some other articles about the SCM command line.


permanent link
Shashikant Padur (4.3k27) | answered Aug 30 '17, 2:52 a.m.
JAZZ DEVELOPER
edited Aug 30 '17, 2:53 a.m.

deliver: scm deliver -r <repo> -s <source_stream> -t <target_stream> -b <baseline_uuid_or_name>

 If there are additional change sets in the target stream that are not in the source stream the deliver will fail. You then need to have a repository workspace, merge the changes from the target stream and then deliver the changes.
 
replace: scm set component <target_stream> stream <source_stream> --all -b <baseline_uuid_or_name>

Your answer


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