clearviewupdate

Updates elements in a snapshot view

Applicability

Product

Command type

ClearCase®

command

Platform

UNIX®

Linux®

Windows®

Synopsis

clearviewupdate [ –ws pname ] [ –pname pname... ]

Description

The clearviewupdate command provides a graphical user interface to the update command. For one or more loaded elements, clearviewupdate does the following:

clearviewupdate does not apply to files or directories that are checked out to the current view.

If clearviewupdate cannot access a VOB (perhaps due to problems in the network), any elements from that VOB remain loaded, but are put in a special state (rule unavailable).

The clearviewupdate command accounts for the fact that VOB elements specified by your config spec may change while an update is in progress. To avoid loading an inconsistent set of element versions, clearviewupdate ignores versions that meet both of the following criteria:

clearviewupdate also accounts for the fact that the system clocks on different hosts may not be synchronized.

Restrictions

None.

Options and arguments

Specifying the view to be updated

Default
The current snapshot view.
–ws pname
Specifies the snapshot view to be updated.

Specifying the elements to be updated

Default
The elements specified by the view's config spec.
–pname pname...
Specifies individual files to be updated in the snapshot view.

Examples

  • Invoke clearviewupdate without specifying any view or elements to be updated.

     cmd-context clearviewupdate

  • Update foo.c in the current view.

    cmd-context clearviewupdate –pname foo.c

See also

checkin, checkout, config_spec, edcs, get, findmerge, ln, merge, mkelem, mv, rmname, setcs, uncheckout, update


Feedback