Carl,
cleartool get is right:
Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/engineRes
ource_zh_TW.java
is a directory. In order to use it, you have to specify the version which
you want to use. Currently, you just refer to the *MVFS representation* of
the versions of element engineResource_zh_TW.java in directory
Z:/Windchill/src/wt/workflow/engine on its branch
/main/r4.0_maint_ardenhills in its version 1.
(Try using "dir" on the above mentioned extended pname, to see how the
element's structure is spread out in front of you.)
However, the element itself is versioned and on branches. You should try to
get something like
Z:/Windchill/src/wt/workflow/engine@@/main/
<mailto:Z:/Windchill/src/wt/workflow/engine@@/main/r4.0_maint_ardenhills/1/e
ngineResource_zh_TW.java/main/r4.0_maint_ardenhills/LATEST>
r4.0_maint_ardenhills/1/engineResource_zh_TW.java/main/r4.0_maint_ardenhills
/LATEST
to actually get the file in a specific version.
HTH,
Peter
-----Original Message-----
From: Carl McMullen [mailto:cwm@windchill.com
Sent: Monday, July 30, 2001 5:10 PM
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