Reputation: 2465
What's the simplest way to know if my view is a snapshot view or dynamic view?
lstype
doesn't help.
[tthangavel@wtl-lbuild-4 fw]$ cleartool lstype myview
cleartool: Error: Pathname not found: "myview".
Upvotes: 1
Views: 610
Reputation: 4767
Personally, for "the simplest way", I would go with:
cleartool lsview -l myview
The resulting output may include:
View attributes: snapshot,ucmview,webview
If it does not say snapshot
, then it's a dynamic view.
From the manual, Rational ClearCase command reference - lsview
With the –full option, reports the following additional properties:
When and by whom view-private data was last accessed
When and by whom a view-private object was last updated
ps: Yes, I indicate use the command -l/ong
, but the documented explanation is the section for properties –pro/perties [ –ful/l | –text_mode ]
; blame IBM.
Upvotes: 2
Reputation: 1323593
Its path.
cleartool pwd
If it starts with /view or M:\, it is a dynamic view.
If not, it is a snapshot view.
Also the presence of load rules in its config spec:
cleartool catcs|grep load
There is never any load rules in a dynamic view.
See more at "What are the differences between a snapshot view and a dynamic view?".
Upvotes: 1