Clearcase: findmerge usage

人走茶凉 提交于 2019-12-17 16:39:33

问题


I have a branch B1 and another branch B2. I want all files/subfolders (recursively) inside a particular folder X (and not on entire VOB) on B1 to be merged onto B2.

What exact findmerge command do I need to use?

The below commands will work for entire vob or if I run them by getting into the directory in question, that will suffice for me?

cleartool findmerge . -type dir -nc -fver .../dev/LATEST -merge
cleartool findmerge . -nc -type file -fver .../dev/LATEST -print

Thanks a lot in advance.


回答1:


After checkin the findmerge man page:

You shouldn't need to merge first the directories, then the files.
findmerge should do the right merges (directories, then files) all by itself.

cleartool findmerge . -nc -fver .../dev/LATEST -merge

should be enough.

cleartool findmerge . -nc -fver .../dev/LATEST -print

will print what needs to be merged, but will stop at the directories.



来源:https://stackoverflow.com/questions/2730294/clearcase-findmerge-usage

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