如何通过Windows命令行更新Clearcase视图? [英] How to update clearcase view via windows command line?
问题描述
我在ClearCase中有一个名为 Dev_view的视图,想通过Windows命令行更新该视图。有没有办法做到?
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?
推荐答案
请参见 cleartool更新命令(用于完整的ClearCase客户端,不适用于CCRC)
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/
将被劫持的文件重命名为filename.keep,并将配置规范选择的VOB中的版本复制到视图中。
Renames hijacked files to filename.keep and copies the version in the VOB selected by the config spec into the view.
请注意,更新UCM视图的根目录具有副作用:将根据其关联的UCM流重新评估视图的配置规范,并建议更新所述配置规范(并继续进行更新)。
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).
非UCM视图不是这种情况,其中 cleartool setcs
将始终在触发配置规范后触发更新。
This isn't the case for a non-UCM view, where a cleartool setcs
will always trigger the update after chaging the config spec.
这篇关于如何通过Windows命令行更新Clearcase视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!