Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the easiet way to detect "evil twins" in Rational ClearCase?

Tags:

clearcase

I'm using ClearCase 7.1

I suspect we have some evil twins. I'm looking for the most efficient way to find them out by scanning the VOB or any other ways. Is there any script that applies it?

For the next coming evil twins we'll use a trigger that prevents it.

Thank you

like image 295
Tamir Gefen Avatar asked Dec 29 '25 04:12

Tamir Gefen


1 Answers

Unless you benefit from the integrated evil twin detection from ClearCase 8.0, the only way remains cleartool find command:

See "About Evil Twins, "locate" section" for some examples:

you run the following command from two views and compare the output (oid and pname), you can verify whether there is an evil twin situation on a file level:

Windows syntax example:

cleartool find . -type f -exec "cleartool describe -fmt \"%On, %n\n\" \"%CLEARCASE_PN%@@\""

Unix syntax example:

cleartool find . -type f -exec 'cleartool describe -fmt "%On, %En\\n" $CLEARCASE_PN@@'
like image 134
VonC Avatar answered Dec 30 '25 23:12

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!