RE: [cciug] DIFF-ing Evil Twins in ClearCase

From: Martel, Jim (jmartel@Tilion.com)
Date: Mon Jul 30 2001 - 11:37:38 EDT


what happens if you run, from the command line, a diff, and place both files
as aguments. If you like graphical diffs, you
can use the -gra option. I use cleartoold diff to compare files in NT
that are not even in clearcase ....
 
    cleartool diff
Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_int_ardenhills/1/engineResou
rce_zh_TW.java
Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineRes
ource_zh_TW.java

 
hope this helps.
 
jim martel

-----Original Message-----
From: Carl McMullen [mailto:cwm@windchill.com
Sent: Monday, July 30, 2001 11:10 AM
To: cciug@rational.com
Subject: [cciug] DIFF-ing Evil Twins in ClearCase

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/engineResou
rce_zh_TW.java
Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineRes
ource_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/engineRes
ource_zh_TW.java
cleartool: Error: Only files are allowed;
"/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineReso
urce_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/engineRes
ource_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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To
unsubscribe, send email to "unsubscribe
cciug" (the subject is ignored). You using the sign-up
form at the ClearCase
http://clearcase.rational.com/cciug/mailing_list.html

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



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