Paul
Paul

Reputation: 163

Find elements on branch and with specific label

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

Upvotes: 1

Views: 55

Answers (1)

VonC
VonC

Reputation: 1323653

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

Upvotes: 1

Related Questions