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) ?
|
One answer
![]()
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
|