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

How to get the total number of changesets within a repository workspace using lscm CLI?

Currently it requires me to do "lscm list changesets -m all -w XyzWorkspace ..." and then parse the output to deduce the count. 

Is there a quicker way around this ? Something like "git rev-list --all --count" in git, which exactly gives me what I need (i.e one number as an output) ?

0 votes



One answer

Permanent link
There isn't a way to get the count directly from a scm command but you could get that information from a mbeans report. Take a look at this: https://jazz.net/wiki/bin/view/Deployment/Rtc6061ScmMetricsTask

0 votes

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
× 7,492
× 1,321

Question asked: Mar 10 '21, 6:20 a.m.

Question was seen: 1,315 times

Last updated: Mar 11 '21, 11:24 p.m.

Related questions
Confirmation Cancel Confirm