1

I want to rebase a set of baselines.Separating each baseline to be mentioned in the rebase command with a comma is one option and the other is to take each and every baseline separately and give the rebase -baseline [name of baseline] - complete command as many number of times as the there are number of baselines, both of which are time consuming.

Is there a way to rebase quickly with least effort?

Shalini
  • 2,195
  • 2
  • 14
  • 13

1 Answers1

0

One cleartool rebase command, with baselines separated by coma, is certainly quicker.

Note that you could list all the latests baselines of a stream and get that list fairly quickly that way.

cleartool descr -fmt "%[latest_bls]CXp," stream:aStream@\aPVob

But if you don't want to list all baselines, you can:

  • create a rootless component
  • put all the other components as dependent of that new rootless component (through the GUI, or you can do it in command-line)

That will create a composite baseline, that you can use for rebasing another stream.
One baseline.
Multiple components rebased.

See also:

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250