ClearCase checkout version not selected by config spec -
from snapshot view using base clearcase, want checkout latest version of file branch not selected in snapshot view. expect possible, because can version tree browser tool.
however, the documentation checkout
command claims can't in snapshot (emphasis mine): [edit: yes can! see below.]
nonstandard checkouts
by default, checkout command checks out these versions:
- the recent version on branch, if using dynamic view
- the version loaded in view, if using snapshot view
to modify different version, can either use –version option or create subbranch @ version. (see mkbranch reference page). furthermore, single view, can have 1 checkout per element @ time.
note: when work in snapshot view, version of directory element can checked out version loaded in view. therefore, –version , –branch options not work.
how can check out unselected version command line?
[edit: here misread "note:" section. means directories can't checked out using -version
or -branch
args, normal files can be.]
the actual solution selected op dss539 use cleartool checkout
directly (see cleartool checkout
man page)
cleartool checkout -bra/nch branch-pname | -ver/sion
it work files (not directories) in dynamic or snapshot view.
if don't want modify config spec of current snapshot file, can:
either use separate view (a dynamic 1 in order have right version selected), , modify @ config spec of that other (dynamic view),
, copy version snapshot view.
see "how select versions specific branch in clearcase?" config spec example.
...
actually, don't need modify config spec of dynamic view:
can use extended pathname of version want directly access , copy right version.or use
cleartool get
command (which "send to" doing on version tree).
see "clearcase command backup predecessor version of file?"
(you don't need separate view here)