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

How to get full list of baselines using scm?

 Hi ,

I`m trying to list  baselines for a component in the stream using scm command.
but the command is returning the result partially. i.e., it is not giving the full list.

when tried checking it in eclipse I`m getting full list . is there any way to get full list?

Thanks,
Surender

0 votes


Accepted answer

Permanent link
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.
Surender Biyyala selected this answer as the correct answer

0 votes

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

Permanent link
There is a flag for maximum results:

-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

0 votes

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

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
× 10,952
× 113

Question asked: Jul 24 '15, 12:11 p.m.

Question was seen: 4,798 times

Last updated: Jul 27 '15, 5:25 a.m.

Confirmation Cancel Confirm