clearcase findmerge supress new element/directory

◇◆丶佛笑我妖孽 提交于 2019-12-04 18:19:40

cd D:\bView\Folder1 cleartool findmerge . -ftag a_view -type d -merge

This is fine, but suppose I have "n" number of folders I have to execute this command "N" times, it would take lot of time,

My requirement is only run on parent folder.

i.e c:>cleartool findmerge "d:\b_view" -ftag a_view -type d -merge and it should exclude the new elements/folders

Do we have any parameter or some regular expression or some thing, which would exclude the new elements ?

You could simply go to Folder1 (in the destination view, that is the view where the merge takes place), and run the findmerge from there.

cd D:\bView\Folder1
cleartool findmerge . -ftag a_view -type d -merge

That would limit the merge to that specific folder (you find similar example in the cleartool findmerge man page, since you can merge directory versions).

Do we have any parameter or some regular expression or some thing, which would exclude the new elements ?

The only thing you have would be the NEVER_MERGE type presented in this IBM article:

But that is not practical to apply on all the folder (and their content).

You can also try a merge -ndata on the elements you don't want to merge (by making ClearCase think they are already merged).
Again, not practical.

It is best to list the high-level folders you want to merge and merge them individually.

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