问题描述
我被要求提供我大约3个月前对ClearCase进行的签入的详细信息。我知道评论中包含的QC号码,但到目前为止,它完全没有找到一种方法来搜索ClearCase以通过评论签入。
I've been asked to provide details of a checkin I did about 3 months ago into ClearCase. I know the QC number that was included in the comment but have so far failed utterly to find a way to search ClearCase for a checkin by comment.
有什么想法吗?
推荐答案
您是否看过?特别是下面的部分。
Have you looked at this ? Specifically the section below.
我想找到所有带有特定注释的元素/版本,例如简在11-26上更改了此内容
I want to find all elements/versions with specific comments like "Jane changed this on 11-26"
M:\my_base_view\my_base_vob> cleartool find -all -exec cleartool lshistory -minor -fmt \%n\t%c\n\ \%CLEARCASE_XPN%\> c:\output.txt
M:\my_base_view\my_base_vob>cleartool find -all -exec "cleartool lshistory -minor -fmt \"%n\t%c\n\" \"%CLEARCASE_XPN%\"" >c:\output.txt
**这会将输出通过管道传输到文件,并且您必须将文件grep为所需的特定注释。
**This will pipe the output to a file and you would have to grep the file for the specific comments you're looking for.
M:\ my_base_view\my_base_vob> cleartool查找。 -version! lbtype(LABEL_NAME) -exec cleartool describe -long%CLEARCASE_PN%> c:\output2.txt
M:\my_base_view\my_base_vob>cleartool find . -version !"lbtype(LABEL_NAME)" -exec "cleartool describe -long %CLEARCASE_PN%" >c:\output2.txt
令人遗憾的是,它看起来像是一个小东西。
Looks a bit of a fiddly process, regrettably.
这篇关于在ClearCase中搜索带有特定注释的签入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!