It's all about the answers!

Ask a question

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


Ved Kpl (135) | asked Mar 10 '21, 6:20 a.m.
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) ?

One answer



permanent link
Shashikant Padur (4.2k27) | answered Mar 11 '21, 11:24 p.m.
JAZZ DEVELOPER
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

Your answer


Register or to post your answer.