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

with version 4.0.4, why the CLI 'scm compare' usage does not have the option for specifying a target stream?

I have RTC version 4.0.4, and trying to use the CLI 'scm compare', and realize it's usage does not have the option for specifying a target stream. I need to specify the target stream because we have same component name when we branch from the main stream to the next release stream, so it becomes ambiguous if using the option "-c <component name>". Here is an example when I ran the scm compare command:

scm.exe compare -c mdm_bpm -I dcbsw -f i baseline 516 baseline 518
Ambiguous selector "mdm_bpm" matched multiple items:
Possible matches:
  (1107) "mdm_bpm"
  (1041) "mdm_bpm"
Problem running 'compare':
Ambiguous component "mdm_bpm".

0 votes



One answer

Permanent link
When you specify the component, you can use the alias or UUID instead of the name.

0 votes

Comments

... and if you are using it in scripts only use the UUID. Aliases are cli client specific and are a convenient way of accessing an item but are different on every system.

To get the uuid use "-u y" after scm. For ex:
scm -u y list components <workspace>

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,019

Question asked: May 07 '14, 2:12 p.m.

Question was seen: 3,147 times

Last updated: May 08 '14, 12:12 a.m.

Confirmation Cancel Confirm