我有一个包含许多 vobs 的 Clearcase 静态 View 。不幸的是我无法使用动态 View 。数据总量约为40 Gb。有时我需要从命令行更新 View ,并对 vobs 进行细微更改。但是,即使我更新 View ,例如,单个文件版本也只能以这种方式更新
cleartool.exe setcs -overwrite config_spec.txt
这需要很长时间(超过一个小时)。如何加快静态 View 更新速度?
最佳答案
setcs
将触发完整 View 更新。
如果您只有一个文件,其版本应因配置规范而更改,您只需 cleartool update
该特定文件:
cleartool update -overwrite /path/to/file
如果配置规范本身已更改(即,如果其中一个选择规则发生更改),则仅执行 setcs
。
For one or more loaded elements, the update command does the following:
- Reevaluates the config spec to select versions of loaded elements in the VOB and loads them if they differ from the currently loaded versions
- Unloads the file or directory from the view if a loaded element is no longer visible (that is, a new directory version does not have an entry for the element).
- Copies the version selected by the config spec into the snapshot view, if the version in the view is different from the version in the VOB selected by the config spec.
关于windows - 如何加快clearcase静态 View 更新?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16607330/