1. no_rmelem_cmd
jialiang:[] ct rmelem test2
CAUTION! This will destroy the element, all its branches and versions,including all data, meta-data and history, and will remove the element
from all directory versions that now contain it. Once you destroy the
element, there will be no way to restore it to its current state.
If you want to preserve the element, but remove references to it from
future directory versions, use the "rmname" command.
Element "test2" has 2 branches, 3 versions, and is entered
in 4 directory versions.
Destroy element? [no] yes
rmelem not allowed ; disable no_ rmelem_cmd preop trigger
cleartool: Warning: Trigger " no_rmelem_cmd" has refused to let rmelem proceed.
cleartool: Error: Unable to remove element "test2".
(这里出现错误的原因是因为,管理员不让用户使用rmelem命令)
2.EVIL_TWIN
什么是evil twin,就是在当前version下没有要追加的目录test1,但是在以前的版本里面有过test1,但是后来被删除了。
所以clearcase的管理员在用户check in element是,hook了一个trigger,来检查用户要提交的element时候有evil twin,这样就会出现
下面的错误。
Creation comments for "test1":
.
Search for Evil-Twin, please be patient...
Error: duplicate name 'test1' found in directory version somedir@@/main/some_branch/18
cleartool: Warning: Trigger "AVOID_EVIL_TWIN" has refused to let lnname proceed.
cleartool: Error: Unable to create directory element "test1".
cleartool: Error: Unable to create element "test1".
解决方法:不能check in当前的test1,需要将它删除,然后从18版将test1 merge过来,然后再test1下进行修改。
使用下面的命令: