[cciug] Finding existing Evil Twins?

From: Carl McMullen (cwm@windchill.com)
Date: Wed Jul 18 2001 - 09:42:31 EDT


All:

Only a couple months ago, we added an Evil Twins trigger and I have this group to thank for that!

However, we have been using ClearCase for over 3 years now and we need to find existing Evil Twin's in ClearCase that were created before we put the ET trigger in place. I've started looking into this and I'm struggling with one small aspect of the solution.

I'm starting with a single directory where I know about a file that has an evil twin, in the directory, on another branch. I am hoping to be able to use the 'cleartool describe -fmt "%On"' command to get the Object ID (OID) of each file, in each directory version and then watch for a file returning a different OID! So, as I'm running through each version of the directory, doing a 'cleartool find ...' for the file in question, each time I get a match, I then try to do a describe of the file I just found (using Perl):

cleartool find $directoryVersion -name $elementName -exec "cleartool describe -fmt "%On" %CLEARCASE_XPN%"

and I am getting back all the same OID's???

[36cbea72.342711d5.9e69.00:c0:4f:60:aa:21]
[36cbea72.342711d5.9e69.00:c0:4f:60:aa:21]
[36cbea72.342711d5.9e69.00:c0:4f:60:aa:21]
[36cbea72.342711d5.9e69.00:c0:4f:60:aa:21]
[36cbea72.342711d5.9e69.00:c0:4f:60:aa:21]
[36cbea72.342711d5.9e69.00:c0:4f:60:aa:21]
[36cbea72.342711d5.9e69.00:c0:4f:60:aa:21]

so I'm beginning to think these are the OID's of the directory element itself, where the file was just found, INSTEAD OF the file I am looking for in each directory version.

Do any of you have any suggestions to get me over the hump here?

Thanks in advance!

Carl McMullen
Parametric Technology Corp (PTC)
Windchill Integration Team
Arden Hills, MN
cwm@windchill.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "unsubscribe cciug" (the subject is ignored). You http://clearcase.rational.com/cciug/mailing_list.html]



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:03:56 EDT