I think the problem is you're looking at the contents of directory elements,
instead of the file elements themselves that you want to diff. The path
names you show below are not file elements, so you can't diff them. They are
directory entries. So you need two views that select those directory
versions, and then you need to look at the file elements in those directory
versions. I.e. you must diff engineResource_zh_TW.java@@\somethingorother in
those directory versions.
Clear as mud?
Matt
-----Original Message-----
From: owner-cciug@rational.com [mailto:owner-cciug@rational.comOn Behalf
Of Carl McMullen
Sent: Monday, July 30, 2001 9: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