1

In ClearCase, I would like to see a list of all the files that I am viewing on a certain branch (if I have branch Br I would like a list of all the files that I am viewing a version of them in that branch). Is that possible?

Amir Rachum
  • 72,441
  • 71
  • 163
  • 242

2 Answers2

1

Why not just use...

cleartool find . -all -nvisible -element 'brtype(Br)' -print %CLEARCASE_PN%

The above is supposed to find all elements (even invisible to this view) with the branch BR, and print the pathnames.

kolslorr
  • 946
  • 1
  • 8
  • 16
0

The simplest solution would be to:

  • create a dynamic view
  • set the right config spec with the relevant element selection rules you want in order to list all the right files.

Don't forget a branch exists independently from files: when you create a branch, no file is affected. Only the file with at least one checked-out version will register in that branch (within their tree view).

See "How to find a Parent Label of a branch in Clearcase" for illustration.

Community
  • 1
  • 1
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755