S.P Posted March 14, 2022 Report Share Posted March 14, 2022 Hey, I'm currently trying to figure out how to find the latest changeset on a branch. I can run the following command cm find branch where name='branchName' on repositories 'myrepository' --format={changeset} --nototal but this fails if we have a branch structure like the following /main/branch /main/branch2/branch This happens because to my knowledge the 'name' field does accept the full path as a value. Is there a way to get the head changeset id with the full branch path? Link to comment Share on other sites More sharing options...
calbzam Posted March 15, 2022 Report Share Posted March 15, 2022 Hi, I'm afraid the "name" field doesn't accept full branch naming. I'm guessing if the "parent" filtering could help you to match the specific branch to need to query: https://www.plasticscm.com/documentation/cmfind/plastic-scm-version-control-query-system-guide#Branches Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now