1

how do I get elements of a label which is present only in the current version but not in any other previous versions?

Hemanth S
  • 21
  • 1

1 Answers1

0

That wouldn't be possible with ClearCase, considering a label can only be associated with one version of an element (an "element" is a file or directory).

You could try and search for a label only applied on one element and not applied on any other element though.

how do i get all changed elements of a label from the current branch since last integration branch?

The query described in "How can I find all elements on a branch with version LATEST that has no label applied?" can be of interest.

Simpler queries are also available on this IBM page:

Find all element versions with a given label that are not on a given branch:

Windows:

cleartool find -all -version "lbtype_sub(MYLABEL) && !brtype(mybranch)" -print

UNIX and Linux:

cleartool find -all -version 'lbtype_sub(MYLABEL) && !brtype(mybranch)' -print
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • thanks for the info...how do i get all changed elements of a label from the current branch since last integration branch? – Hemanth S Apr 18 '13 at 12:29
  • i wanted only the elements of a label since rebasing the branch. That is all the elements of a new label on a branch after rebasing the branch shouldnt contain the elements present before rebasing – Hemanth S Apr 19 '13 at 07:03
  • also could you let me know how to find all the attribute types associated with a particular label? – Hemanth S Apr 19 '13 at 08:45