了解我的观点是快照视图还是动态视图的最简单方法是什么?
lstype
没有帮助。
[tthangavel@wtl-lbuild-4 fw]$ cleartool lstype myview
cleartool: Error: Pathname not found: "myview".
答案 0 :(得分:2)
就个人而言,对于"最简单的方式",我会选择:
cleartool lsview -l myview
结果输出可能包括:
View attributes: snapshot,ucmview,webview
如果没有说snapshot
,那么它就是动态视图。
从手册Rational ClearCase command reference - lsview
使用-full选项,报告以下附加属性:
上次访问查看 - 私人数据的时间和人员
上次更新视图 - 私有对象的时间和人员
ps:是的,我指示使用命令-l/ong
,但是文档说明是属性–pro/perties [ –ful/l | –text_mode ]
的部分;责怪IBM。
答案 1 :(得分:1)
它的道路。
cleartool pwd
如果以/ view或M:\开头,则为动态视图 如果没有,则为快照视图。
在配置规范中还存在加载规则:
cleartool catcs|grep load
动态视图中从不存在任何加载规则。
请参阅" What are the differences between a snapshot view and a dynamic view?"。