Find elements on branch and with specific label

48 Views Asked by At

Using cleartool, how do I find elements (file or folder):

  • on a specific branch
    and
  • with a specific label?
1

There are 1 best solutions below

0
VonC On BEST ANSWER

I mentioned before how to search elements by label.

You should be able to add a brtype selector (as in here) to restrict to a given branch:

Unix:

cleartool find -all -element '{lbtype_sub(REL1) && brtype(BRANCHNAME)}' -print

Windows:

cleartool find -all -element "{lbtype_sub(REL1) && brtype(BRANCHNAME)}" -print