rebasing a set of baselines

谁说我不能喝 提交于 2019-12-23 03:11:26

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!