How merge sub branch to main branch using clearcase command line under linux?

瘦欲@ 提交于 2019-12-06 15:27:54
VonC

You can use the command cleartool findmerge for that.

The key is to use a view which select those files:

element * MYLABEL
element * /main/LATEST

And use -ftag yourLabelView

You can also directly use -fver YourLabel (meaning, no need to have a special dedicated view)

Go to a dynamic view set on /main, and do a:

cd /view/MyView/vobs/MyVob
cleartool findmerge . -fver MyLabel -whynot -print

The -whynot and -print allow you to preview what would be merge and see if that fits what you expect.

Once the preview seems good:

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