To save time, you can update individual files or
directories (directories are updated recursively) in a snapshot view (for
example, files that you know have been modified since you last updated). Updating
only specific parts of your view may eventually cause your view to contain
an inconsistent set of versions.
When you update files and directories
only, a categorized list of the actions taken to update the view is not displayed.
Tip: You cannot update a checked-out file. To undo changes
to a checked-out file and start over with the version in the VOB, cancel the
checkout.
You can update files and directories from the command line,
from Rational® ClearCase® Explorer,
from Windows Explorer, from Visual Basic, or from Visual J++ and Visual C++.
To
update files and directories, perform one of the following actions:
- From the command line, perform the following procedure:
- Determine the paths to the files and directories that are to be updated.
- Use the following command with each path (separated
by a space) of the specific files and directories:
cleartool update -graphical path ...
For information about all available command options, see the update reference
page in the IBM Rational ClearCase Command Reference.
- From Rational ClearCase Explorer,
perform the following procedure:
- Select files or directories.
- Right-click and click Update.
The
directories are updated recursively.
Windows tip: If you know that the files
you want to update share a common attribute, such as a similar modification
date, you can use the Search command in Rational ClearCase Explorer
to find the set of files. Then, you can update the files from the Search Results
window.
- From Windows Explorer, perform the following procedure:
- Select files and directories.
- Right-click and click .
The directories are updated recursively.
- From Visual Basic, perform the following procedure:
- Click .
- In the Get Files from ClearCase window, choose
files to update and click OK.
- From Visual J++ and Visual C++, perform the following procedure:
- Select files in Project Explorer or FileView.
- Click .