问题
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?
回答1:
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:
- "What is composite baseline in UCM and when it will be used?".
- "Best practices for using composite baselines in UCM"
- "composite baseline"
来源:https://stackoverflow.com/questions/19852288/rebasing-a-set-of-baselines