Two baselines created in ClearCase UCM

可紊 提交于 2019-12-04 05:21:51

问题


I am setting up a project using composite baselines. When I create a baseline to send to the "Mainline" project, it always creates two baselines. One is called "COMP_BL" and the other is "COMP_BL.####"

Is there a reason for this to happen? Could I possibly have my setup wrong?


回答1:


No your setup is right.

It will always create one baseline by component which have changed.

If your root-based component (the one with files) has changed, it got a baseline.
That means your root-less component (the one without any file, made to aggregate other components) will get also a (composite) baseline, in order to record changes in the dependencies of said rootless component.

See "Best practice for composite baseline" for illustration.

As explained in "do any one have batch file to apply and create label or base line in clearcase", when you apply multiple baseline, ClearCase:

  • reuse the same title "COMP_BL"
  • generate a different ID "COMP_BL.####"

That id will be:

  • "COMP_BL" (the title itself) for the first component to get a baseline (usually the rootless component, but there is no guarantee)
  • "COMP_BL.####" for each other component


来源:https://stackoverflow.com/questions/10233327/two-baselines-created-in-clearcase-ucm

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