Question

I'm using the Clearcase Remote Client 7.1.2 (and I only have it available)

I have a file which has 2 branches, branch1 and branch2. branch1 is configured to be the default branch in config spec. I want to checkout a version of the file from branch2, but there is no such option in Version Tree Browser when I click any version of the file on branch2. I can only checkout the latest version on branch1.

What am I doing wrong? Is there a configuration that will allow me to checkout any version I want?

Was it helpful?

Solution

A (CCRC web-)view is always defined to work at the latest version possible (LATEST) of a specific branch.

The CLI associated with CCRC doesn't include 'get' (presented in the second part of "In ClearCase, how can I view old version of a file in a static view, from the command line?"

If your view isn't an UCM view, you could add a selection rule at the start of your config spec (See CCRC edit config spec):

element /vob/path/to/file .../branch2/x

with x a version number from branch2.
However, I don't remember if you have access to the actual config spec source with CCRC.

OTHER TIPS

You may want to create two views. One whose config spec selects versions in branch1 and another that selects versions in branch2. Use the appropriate view when checking out files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top