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

自作多情 提交于 2019-11-28 00:27:00

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