For one or more loaded elements, the update command does the following:
update does not apply to files or directories that are checked out to the current view.
If update cannot access a VOB (perhaps because of problems in the network), any elements from that VOB remain loaded, but are put in a special state (rule unavailable).
The update 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, update ignores versions that meet both of the following criteria:
update also accounts for the fact that the system clocks on different hosts may not be synchronized.
When issued from a snapshot view, the following cleartool commands invoke update at the completion of the command:
To suppress generation of the log file, use –log /dev/null (UNIX and Linux) or -log NUL (Windows). You can also set the CCASE_NO_LOG EV, which suppresses generation of the log file for any command that initiates the update operation.
If you specify –add_loadrules, this argument is interpreted as a new load rule. The elements specified by the rule are loaded and the rule is appended to the config spec of the current view. pname must be either a pathname relative to your current location in the directory structure of the snapshot view or an absolute path that includes the snapshot view path.
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
cmd-context update –print –log C:\temp\log.txt E:\views\xml_snapshot