Is it a sort of evil twin?
Normally no, because an evil twin involves the same path (and different branches)
The technote "cleartool checkvob -evil_twin <vobtag>
displays twins whose names are not identical" mentions the use of cleartool checkvob -evil_twin <vobtag>
to check if a.txt
is involved in an evil twin or not.
You can also use:
cleartool describe -aliases -all /var/tmp/myvob/a.txt
That is used primarily to identify an hard link:
You can also use cleartool find executed as follows from the root of the VOB:
cleartool find -all -exec 'cleartool describe -fmt "%[aliases]ACQp\n" $CLEARCASE_XPN'
This output will provide for you a list of all the elements in the VOB, and if a given element has more than one hardlink, the other hard link will be displayed after a comma in the list.
The output will look similar to the following:
"/vobs/TestVOB1@@/main/dir1/7/1.txt", "/vobs/TestVOB1@@/main/dir1/7/1.foo.txt"