Question

I have an issue with an "Evil twin" in UCM ClearCase. I do know what an evil twin is and we have a trigger in place that prevents me from creating one.
The thing is I obviously had a file checked in to ClearCase already (at the same location I would like to add it now again) but removed it. For the removal I used the Windows ClearCase Explorer version 7.0.1.6.
I don't know which command the GUI uses but as rmelem is bad I would guess that Rational did not setup the GUI to issue this command...

My question: How do I get the file into ClearCase again?
The trigger tells me that the evil twin would be created with version /main/INT-STREAM/DEV-STREAM/2 of the directory. So I tried to get a view with version 2 of the directory (so I could at least have a look at the version where the evil twin would occur) but using the following config spec does not display the folder:

element PathToFolder/folder/... .../DEV-STREAM/2
element PathToFolder .../INT-STREAM/LATEST
element * /main/LATEST>

I also tried

element PathToFolder/folder .../DEV-STREAM/2
element PathToFolder/folder/... .../DEV-STREAM/LATEST
element PathToFolder .../INT-STREAM/LATEST
element * /main/LATEST

but that does not display the folder either.

Thanks in advance for any answer

Was it helpful?

Solution

You cannot select just a folder with a specific selection rule: you need to make sure all the parent folders are at the right version (potentially in the DEV-STREAM branch as well).

But in your case, I would rather try and access that old file though the extended pathname in order to directly access the content of that older version of that folder.

cd PathToFolder/folder@@/main/INT-STREAM/x/DEV-STREAM/2

(you might have to adapt that extended path, as I have replaced intermediate version numbers by 'x': do a property on the current version of that folder to see the exact extended path).


You can, after comparing the content of that folder, try manual resolutions of an evil twin, as described in :

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