neves
neves

Reputation: 39153

ClearCase: how to list non-obsolete sub-streams?

I have an integration stream in ClearCase. I want to get a list with the names of all of its child streams that aren't marked as obsolete. Which command should I run?

Upvotes: 1

Views: 235

Answers (1)

VonC
VonC

Reputation: 1323433

A simple cleartool lsstream -tree myIntStream@\myPvob should be enough.
(Unix: cleartool lsstream -tree myIntStream@/vobs/myPvob)

As mentioned in cleartool lsstream:

Default

Lists only nonobsolete streams.

neves adds in the comments:

This also list all the activities of the stream. I think it is necessary to pass something the fmt option. I'd like just the name of the streams.

As I mention in "cleartool lsstream -tree get only list of child streams" (using fmt_ccase):

cleartool describe -fmt "%[dstreams]CXp" stream:myStream@\myPVob

The OP neves mentions in the comments having just the names with:

 cleartool describe -fmt "%[dstreams]p" stream:myStream@\myPVo

Upvotes: 2

Related Questions