When making baseline manually, it shows the "Make Baseline" dialog with list of activities to include in new baseline.
How to get that list from commandline (from cleartool
or other tool, in Windows and Linux)?
When making baseline manually, it shows the "Make Baseline" dialog with list of activities to include in new baseline.
How to get that list from commandline (from cleartool
or other tool, in Windows and Linux)?
The closest would be described in the technote "Activities delivered since the last baseline"
When working in a UCM project, it is often useful to determine the activities delivered to an integration stream since the last baseline was applied.
Thecleartool diffbl
command can accomplish this.
However,cleartool diffbl
must be run against each modifiable component that the project uses.
The command syntax is:
cleartool diffbl -activities baseline:<baseline> stream:<integration_stream>
That means you must determine that latest most recent baseline of a component on a given stream first.
As mentioned by the OP in the comments, the diffbl
works with the most recent baseline:
lsbl
Then make the diffbl
in order to list the activities which are candidate for the next baseline.
The
cleartool lsbl -stream ... -component ...
seems to return the last baseline created in this stream.
Butcleartool diffbl -activities baseline:... stream:...
prints some useless junk if that baseline is not last in stream (this might happen if stream was rebased, and no new baseline was created since then; the last baseline becomes the foundation baseline).So
cleartool diffbl
needs foundation baseline if it's newer than last baseline created in the stream. In this case it correctly outputs list of activities.