rtc cli scm list stream/snapshot gives different ID numbers each run
Hi all,
I am using the RTC SCM CLI utility to run the scm list streams and scm list snapshot commands. I am able to get a list of output but the IDs stated keep changing everytime I run the command.
For example:
1st run gives (1234) "Stream1" MainProjectArea
2nd run gives (2345) "Stream1" MainProjectArea
Is this expected behavior? If not then how can I troubleshoot this problem?
Thanks!
Accepted answer
This can be expected.
If you refer to
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/list_streams.html&scope=null
[UUID and Alias section] says:
Aliases are unique to a sandbox. You cannot share them with other team members. You cannot list them. They are not persistent over long spans of time (any alias can be re-used to refer to another object after the set of unused aliases has been exhausted).
So in your case, alias can change every time. If you mean to show UUID, you can try
scm -a n -u y list streams
which will return uuid only for each stream and it should be consistent.