When I want to use a branch in CC, I usually put something like this in the config spec:
element * .../first_branch/LATEST
element * .../Main/LATEST -mkbranch first_branch
element * ../Main/LATEST
Now, I want to create a branch that is a sub-branch of the first one. Let’s say it’s called second_branch (I’m creative today). How would that config spec look like?
Like this:
Your view will now look at 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 on the main branch. Upon checking out a file, a new version element will be created on respectively second_branch and first_branch as necessarily.
I don’t have access to a ClearCase instance right now, so I can’t double check your last two lines, but I think that perhaps you meant this instead?