在明确的情况下重新配置配置规范 [英] rebasing config spec in clear case
问题描述
我是新的Clearcase,我正在尝试重新建立分支m_tool的基础。您能告诉我如何配置以下配置规范吗?
I am new clearcase I am trying to rebase the branch m_tool. Could you please tell me how should i go about rebasing for the following config spec?
element * CHECKEDOUT
element * DATASOURCE
element /entities/... /main/LATEST
element * .../m_tool/LATEST
mkbranch m_tool
element * .../branch2011/LATEST
element * TAG_2010_OCT_02
element * .../m_dd_lt_hfix/LATEST
element * TAG_2010_02_DEV_BASE
element * /main/LATEST
end mkbranch m_tool
谢谢你,丹尼斯
Thank you, Dennis
推荐答案
重新设置 是父UCM流之间的合并
"Rebasing" is a merge between a parent UCM stream and a direct child Stream.
您显示的是基本的ClearCase配置规范,而不是UCM规范。
What you show is a base ClearCase config spec, not an UCM one.
该配置规范将显示 m_tool
分支上的最新版本,对于尚未具有任何 m_tool
分支的版本,该配置规范将显示最新信息:
That config spec would show the latest on m_tool
branch, and, for version which haven't yet any m_tool
branch:
- 最新的
br anch2011
- ;如果没有
,则标签 TAG_2010_OCT_02
- ,或者如果没有标签
TAG_2010_OCT_02
,则最新分支m_dd_lt_hfix
- ,或者,如果没有分支
m_dd_lt_hfix
,则标记TAG_2010_02_DEV_BASE
- ,或者作为最新的 停止规则
main
分支
- the latest of
branch2011
- or, if no
branch2011
, the tagTAG_2010_OCT_02
- or if no tag
TAG_2010_OCT_02
, the latest of branchm_dd_lt_hfix
- or, if no branch
m_dd_lt_hfix
, the tagTAG_2010_02_DEV_BASE
- or, as a stop rule, the latest of
main
branch
在每种情况下,如果完成版本,则您会在 m_tool
分支上创建它。
In each case, if a version is done, you would create it on the m_tool
branch.
如果这是重新设置的意思,则为正确。
If that is what you mean by "rebasing", then it is correct.
我希望m_tool拥有所有功能,而不是查看每个标签/分支。
I want m_tool to have everything, instead of looking at each tags/branch.
然后,您需要合并仅显示非m_tool版本的视图:
Then you would need to merge a view which display only non m_tool versions:
element * .../branch2011/LATEST
element * TAG_2010_OCT_02
element * .../m_dd_lt_hfix/LATEST
element * TAG_2010_02_DEV_BASE
element * /main/LATEST
然后合并该视图,仅使用m_tool视图:
And merge that view an m_tool-only view:
element * .../m_tool/LATEST
element * /main/0 -mkbranch m_tool
element * /main/latest -mkbranch m_tool
这篇关于在明确的情况下重新配置配置规范的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!