1

In ClearCase suppose I have a branch App_Feb_Branch. Now I want to know if any Tag or Label has been created from this branch. How can I get this information?

1201ProgramAlarm
  • 32,384
  • 7
  • 42
  • 56
GD_Java
  • 1,359
  • 6
  • 24
  • 42

1 Answers1

1

You can list baselines (for ClearCase UCM) or grep for version with a label (for base ClearCase).

See "Command to find labels applied on particular branch":

ct find . -nrec -name "." -ver "brtype(myBranch)" -exec "cleartool descr -fmt "%l" \"%CLEARCASE_XPN%\""

With fmt_ccase formatting options, you can use the %l to only display labels for the versions found.

That is what the cleartool descr -fmt "%l" \"%CLEARCASE_XPN%\" part of the cleartool find above does.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250