To update files and directories in a snapshot view

About this task

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 HCL VersionVault Windows 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:
    1. Determine the paths to the files and directories that are to be updated.
    2. 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 VersionVault Command Reference.
  • From HCL VersionVault Windows Explorer, perform the following procedure:
    1. Select files or directories.
    2. 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 VersionVault Windows 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:
    1. Select files and directories.
    2. Right-click and click VersionVault > Update.

      The directories are updated recursively.

  • From Visual Basic, perform the following procedure:
    1. Click Tools > VersionVault > Get Latest Version.
    2. In the Get Files from VersionVault window, choose files to update and click OK.
  • From Visual J++ and Visual C++, perform the following procedure:
    1. Select files in Project Explorer or FileView.
    2. Click Project > Source Control > Get Latest Version.