cleartool - How to get list of activities included in new ClearCase baseline from commandline? -
when making baseline manually, shows "make baseline" dialog list of activities include in new baseline.
how list commandline (from cleartool
or other tool, in windows , linux)?
the closest described in technote "activities delivered since last baseline"
when working in ucm project, useful determine activities delivered integration stream since last baseline applied.
cleartool diffbl
command can accomplish this.
however,cleartool diffbl
must run against each modifiable component project uses.
the command syntax is:
cleartool diffbl -activities baseline:<baseline> stream:<integration_stream>
that means must determine latest recent baseline of component on given stream first.
as mentioned op in comments, diffbl
works most recent baseline:
- either 1 listed first
lsbl
- or foundation baseline if more recent. cleartool lsbl -stream integration_stream -component user1_comp@/vobstore/pvob
then make diffbl
in order list activities candidate next baseline.
the
cleartool lsbl -stream ... -component ...
seems return last baseline created in stream.
cleartool diffbl -activities baseline:... stream:...
prints useless junk if baseline not last in stream (this might happen if stream rebased, , no new baseline created since then; last baseline becomes foundation baseline).so
cleartool diffbl
needs foundation baseline if it's newer last baseline created in stream. in case correctly outputs list of activities.
Comments
Post a Comment