How to get full list of baselines using scm?
Accepted answer
Are you looking for all baselines for the component, or the history of the baselines for that component for that stream?
Those are two very different lists ... in particular the history of the baselines for a component in a stream is just the subset of the baselines that have been added to that stream (and can contain duplicates, because of the "replace" operation).
It sounds like you are looking for the former, i.e. all baselines for the component. In that case, no workspace/stream should be specified in the "scm list baselines" command. It might be worthwhile to paste the scm command you have been using, so we can verify which form you are using.
Those are two very different lists ... in particular the history of the baselines for a component in a stream is just the subset of the baselines that have been added to that stream (and can contain duplicates, because of the "replace" operation).
It sounds like you are looking for the former, i.e. all baselines for the component. In that case, no workspace/stream should be specified in the "scm list baselines" command. It might be worthwhile to paste the scm command you have been using, so we can verify which form you are using.
Comments
Hi Clemm
below is the command I`m using
lscm --show-uuid y list baselines -r myrepo -w mystream -m 2000 -C component.
My requirement is to get all the baselines for that component and compare them baselines to know the change sets specific to each and every baseline.
Thanks,
Surender
Thanks Clemm,
I used the following command and got what i want
scm list baselines -r repo -u uname -P pwd -C component.
I just wanted to know what difference it will make if I specify the stream in the command.
One other answer
There is a flag for maximum results:
Set -m to a "large" number ( e.g. 100, 1000 )
That is available to all the scm list operations.
The full documentation of SCM command is available in each Knowledge Center
e.g. 6.0.0 or 5.0.2
-m, --max <arg> The number of baselines to list.
Set -m to a "large" number ( e.g. 100, 1000 )
That is available to all the scm list operations.
The full documentation of SCM command is available in each Knowledge Center
e.g. 6.0.0 or 5.0.2
Comments
Thanks Ramer for the response.
I did used this option earlier but no luck.
when you right click on the component and select show baselines in eclipse it will give you only few baselines and sometimes duplicate`s also and now you have an option "show all in repository" which will get us full list.
using the command is returning the same list of baselines as i mentioned in the first step above.
Thanks,
Surender