clearcase

how to find all the branch type created by one person in 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 .


Solution

  • 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.