如何找到谁删除了clearCase触发器?
在一些vobs ClearCase触发器被删除的情况下,在日志中也看不到任何内容。有什么办法可以找到是谁干的吗? 在VOB对象上运行如何找到谁删除了clearCase触发器?,clearcase,ibm-rational,Clearcase,Ibm Rational,在一些vobs ClearCase触发器被删除的情况下,在日志中也看不到任何内容。有什么办法可以找到是谁干的吗? 在VOB对象上运行lshistory将显示删除事件 这至少提供了删除类型的人员、时间以及删除时输入的任何注释的历史记录。 如果不将这些事件存储在VOB对象中,就不会有删除对象的人和时间的记录 例如: The creation event is visible in the history. % cleartool lshistory -long brtype:NEWBR 15-Oc
lshistory
将显示删除事件这至少提供了删除类型的人员、时间以及删除时输入的任何注释的历史记录。
如果不将这些事件存储在VOB对象中,就不会有删除对象的人和时间的记录 例如:
The creation event is visible in the history.
% cleartool lshistory -long brtype:NEWBR
15-Oct-03.16:32:41 John Doe (jdoe.clearuser@host1)
create branch type "NEWBR"
Once removed, the type object's removal event is only visible in the history.
% cleartool rmtype -rmall brtype:NEWBR
Removed branch type "NEWBR".
% cleartool lshistory -long vob:<tag>
15-Oct-03.16:32:41 John Doe (jdoe.clearuser@host1)
destroy type in versioned object base "<tag>"
"Destroyed branch type "NEWBR"."
更多信息请参见:
Windows示例:
注意:在本例中,findstr
命令与/C
选项一起使用。/C
前面有一个冒号,没有空格,表示引号中的所有内容都应作为单个项目进行搜索
UNIX/Linux示例:
很抱歉回答得太晚:我完全错过了你最后一个ClearCase问题。没问题,非常感谢。。。
"Destroyed trigger type "XXX"."
M:\dynamic_view\test_vob>cleartool lshistory -all | findstr /C:"Destroyed trigger type"
"Destroyed trigger type "VERSION"."
%>cleartool lshistory -all | grep 'Destroyed trigger type'
"Destroyed trigger type "VERSION"."