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
"Rebasing" is a merge between a parent UCM stream and a direct child Stream.
What you show is a base ClearCase config spec, not an UCM one.
That config spec would show the latest on m_tool
branch, and, for version which haven't yet any m_tool
branch:
- the latest of
branch2011
- or, if no
branch2011
, the tag TAG_2010_OCT_02
- or if no tag
TAG_2010_OCT_02
, the latest of branch m_dd_lt_hfix
- or, if no branch
m_dd_lt_hfix
, the tag TAG_2010_02_DEV_BASE
- or, as a stop rule, the latest of
main
branch
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.
I want m_tool to have everything, instead of looking at each tags/branch.
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
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