How to update clearcase view via windows command line?

余生颓废 提交于 2019-11-30 04:13:55

问题


I have a view named "Dev_view" in ClearCase and want to update the view via windows command line. Is there a way to do that?

In particular, what other command can trigger a view update?


回答1:


See cleartool update command (for full ClearCase client, not for CCRC)

cd /path/of/your/snapshot/view
cleartool update .

You cal also add the following options:

-ove/rwrite

Overwrites all hijacked files with the version selected by the config spec.

-nov/erwrite

Leaves all hijacked files in the view with their current modifications.

-ren/ame/

Renames hijacked files to filename.keep and copies the version in the VOB selected by the config spec into the view.


Note that updating the root directory of an UCM view have side-effect: it will re-evaluate the config spec of the view against its associate UCM stream, and will propose to update said config-spec (and proceed with the update).

This isn't the case for a non-UCM view, where a cleartool setcs will always trigger the update after chaging the config spec.



来源:https://stackoverflow.com/questions/12740779/how-to-update-clearcase-view-via-windows-command-line

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