如何查找由一个人创建的所有分支类型 [英] how to find all the branch type created by one person in clearcase
问题描述
一个月前,我创建了一个分支类型,但是由于某种原因,直到现在才使用它。但是现在我对分支名称记忆不清,但对
不太清楚。因此,我想知道clearcase是否具有列出某个人创建的所有分支类型的功能,就我而言,就是我自己,那么我可以找到我一个月前创建的分支类型的确切名称。需要您的帮助,在此先感谢。
I created a branch type one month ago , but for some reason delayed to use it until now. But now I just have a vague memory of the branch name but not very sure about it . So I'm wondering if clearcase has the feature that list all the branch type create by a person, in my case just me, then I can find the exact name of the branch type I created one month ago . Need your help, thanks in advance .
推荐答案
您可以列出一个Vob的brtype,使用 fmt_ccase 指令:
You can list the brtype of a vob, displaying only what you need with fmt_ccase directives:
cleartool lstype -kind brtype -invob \myVob
足以做一些grep,但输出更紧凑:
would be enough to do some grep, but for a more compact output:
cleartool lstype -kind brtype -invob \myVob -fmt "%u %Ad %N\n"
您只需输入用户名,日期和brtype的名称,即可进行复制。
You would only have the username, the date and the name of the brtype, for you to grep.
请注意%Ad
参数:年龄,以天为单位,以便能够快速发现30天左右之前创建的brtype。
Note the %Ad
parameter: age in days, to be able to quickly spot brtype created 30 days or so ago.
这篇关于如何查找由一个人创建的所有分支类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!