Detecting baseline replacements via SCM-CLI or similar
Is it possible to detect baseline replacements via SCM-CLI or scripting language?
Usecase:
The eclipse environment detects if someone replaced a baseline with an older version. Your incomings and outgoings mark that baseline as "replaced".
We have automated delivery streams and need to detect that kind of states.
I tried SCM-CLI command "show status -j" and I'm getting a lot of information. You can see that the baseline was changed, but the distinct attribute stating that a baseline was replaced (with an older version) is missing.
Is there another command to detect this? Is there another approach besides SCM-CLI?
Thank you in advance for any advice and input.