Wrong printing of branches using a DSID
I had a wrong error message when I tried to commit JOs for 421332: the message I got was that dsid_jveatch_600076 already uses this DSID. I have checked this branch and it was not the case. I found that this DSID was used in one of the earlier branches awaiting approval. I think the problem is that the list of branches https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/blob/master/scripts/check_jo_consistency.py#L118 is ordered from the newest branch to the oldest and when a new branch is submitted for merging it is updated for the changes that were introduced in other branches awaiting the approval - this way always the newest one will be pointed as the one using already a given DSID (in case of conflict).