Like this:
element * .../second_branch/LATEST element * .../first_branch/LATEST -mkbranch second_branch element * .../Main/LATEST -mkbranch first_branch element * ../Main/LATEST
Now your presentation will look like the latest version on second_branch or, if it doesn’t exist, the latest version on first_branch or, if it doesn’t exist there, the latest version in the main branch. After checking the file, a new version element will be created on second_branch and first_branch respectively.
I don’t have access to the ClearCase instance right now, so I can’t double check your last two lines, but I think you probably meant it instead?
element * .../second_branch/LATEST element * .../first_branch/LATEST -mkbranch second_branch element * /Main/LATEST -mkbranch first_branch
source share