Can I open ClearCase vtree with only some branches expanded by default?

132 Views Asked by At

We have a ton of branches in our VOB.
Some files change very frequently, and so the version tree is a mess.

Most of the time, I only care about one particular branch and its subbranches.
I know I can collapse certain branches once the VTree is open, but that gets very tedious.

Is there any way to open the VTree with most branches collapsed (hidden) except for the ones I care about?

2

There are 2 best solutions below

2
On

Another option is to lock -obsolete any branch instances you don't use anymore. They will drop off the graphical vtrees as long as the option to display obsolete versions isn't enabled.

2
On

Even in its latest iteration (ClearCase 9.0), cleartool lsvtree -graph don't offer much in term of filtering.

You do have the -bra/nch branch-pname option though:

Starts the version tree listing at the specified branch.
You can also use an extended name as the pname argument (for example, foo.c@@\main\bug405) to start the listing at a particular branch

Combined with the -g/raphical (which starts a Version Tree Browser for each element you specify as an argument), you can launch a VTree (GUI) directly on the right branch.