[cciug] DIFF-ing Evil Twins in ClearCase

From: Carl McMullen (cwm@windchill.com)
Date: Mon Jul 30 2001 - 11:09:46 EDT


All:

I spent some time finding all of our Evil Twins (and triplets and quadruplets) in ClearCase and now would like to do DIFF's of each in order to decide which one to keep. I put together a list of Extended Path Names of elements in ClearCase, like the following:

Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_int_ardenhills/1/engineResource_zh_TW.java
Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineResource_zh_TW.java

and would like to run "cleartool diff ..." against them. Naturally I am only able to make one of these visible at a time in my view and it seems that this fact is keeping from being able to do a "cleartool diff ..." against the above two Extended Path Names.

Yes, I could setup two different views, mounted to two different drive letters, and do the DIFF-ing that way BUT I'm wondering if there is someway to do these DIFF's without using two views?

I noticed the "cleartool get ..." command and tried using it to extract the 2 separate element versions to local files BUT I'm getting an error:

cleartool get -to foo.out N:/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineResource_zh_TW.java
cleartool: Error: Only files are allowed; "/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineResource_zh_TW.java" is a directory.

You may be wondering about the extended paths I've listed:

Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineResource_zh_TW.java

Yes, this is a directory->branch->version specification, with a filename at the tail end. This is the syntax I discovered that is necessary in order to refer to a specific element in ClearCase. I can do a "cleartool describe ..." against this and it works fine BUT "cleartool get ..." errors as shown above.

Any ideas?

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:04:04 EDT