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

会有一股神秘感。 提交于 2019-11-26 21:42:56

问题


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


回答1:


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@@'


来源:https://stackoverflow.com/questions/11705061/whats-the-easiet-way-to-detect-evil-twins-in-rational-clearcase

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!