1

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)?

1 Answers1

0

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.
The cleartool 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:

  • either the one listed first by lsbl
  • or the foundation baseline if it is more recent. cleartool lsbl -stream integration_stream -component user1_comp@/vobstore/pvob

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.
But cleartool 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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • The `cleartool lsbl -stream ... -component ...` seems to return the last baseline **created in this stream**. But `cleartool 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. – my_stk_oflw_account Jul 15 '15 at 10:24
  • @my_stk_oflw_account yes, the method I mentioned is to be used with the most recent baseline. Either the one liste by lsbl or the foundation baseline indeed. – VonC Jul 15 '15 at 10:27
  • @my_stk_oflw_account I have included your comment in the answer for more visibility. – VonC Jul 15 '15 at 10:30