How can we deliver specific baseline from one stream to another by lscm cammand ?
2 answers
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.
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>
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 30 '17, 2:24 a.m.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.