rahmu
rahmu

Reputation: 5878

Clearcase: list element labels in a view

Using ClearCase, I would like to retrieve all the elements of the VOB that do not have a particular label.

I am trying to do something similar to the following but it doesn't work. Any help ?

cleartool find . -elem '( ! (lbtype(MYLABEL)))' -print

Upvotes: 1

Views: 664

Answers (1)

VonC
VonC

Reputation: 1323583

It should be a query similar to:

cleartool find . -elem '! lbtype_sub(MYLABEL)' -print

From cleartool find and query_language:

lbtype_sub (label-type-name)

With elements: TRUE if the element has a version that is labeled label-type-name.

More details in "ClearCase: How to find elements that do NOT have a particular label"

Upvotes: 1

Related Questions