6.7 Moving Views

This section discusses the following tasks:

For information about changing a view-tag, see the mktag reference page in the Command Reference.

Changing the Physical Location of a Snapshot View

If the snapshot view storage directory is in a storage location, you can use standard Windows commands (such as Cut and Paste commands or drag and drop operations in Windows Explorer) to move the snapshot view's directory tree of loaded elements and view-private files. You can move the view to a different computer, but the computer must run a Windows operating system.

CAUTION: If the view storage directory is located below the root directory of the view, do not use standard Windows commands to move the snapshot view. Instead, see Moving a View Storage Directory.

To Find the Location of the View Storage Directory
  1. In ClearCase Explorer, right-click the view's root directory.

  2. In the View Properties dialog box, click Advanced.

  3. The Host Path box displays the pathname for the view storage directory.

Update After Moving

After moving a snapshot view, you must update any view shortcuts in ClearCase Explorer that use the old pathname to the view. If you did not create a ClearCase Explorer shortcut for the view and you move a view to a different computer, you must register its new location. Until you register its new location, the ClearCase user interface continues to present the old location.

Moving a View Storage Directory

Each dynamic view and snapshot view includes a view storage directory, which ClearCase uses to maintain the view. Do not use standard Windows commands (such as Cut and Paste commands or drag and drop operations) to move a view storage directory for the following reasons:

We suggest that you ask your ClearCase administrator to move view storage directories because it may affect other, potentially many other, ClearCase users at your site. For more information about the procedure for moving view storage directories, see the Administrator's Guide for Rational ClearCase.

CAUTION: You will lose data (including view-private files in a dynamic view) if you move a view storage directory without following the procedure described in the Administrator's Guide for Rational ClearCase.