how to find all the branch type created by one person in clearcase

拟墨画扇 提交于 2019-11-30 15:34:20

问题


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 .


回答1:


You can list the brtype of a vob, displaying only what you need with fmt_ccase directives:

cleartool lstype -kind brtype -invob \myVob

would be enough to do some grep, but for a more compact output:

cleartool lstype -kind brtype -invob \myVob -fmt "%u %Ad %N\n"

You would only have the username, the date and the name of the brtype, for you to grep.

Note the %Ad parameter: age in days, to be able to quickly spot brtype created 30 days or so ago.




回答2:


cleartool lstype -kind brtype | grep username works for me on Linux.



来源:https://stackoverflow.com/questions/2279505/how-to-find-all-the-branch-type-created-by-one-person-in-clearcase

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