Replacing repository workspace contents with snapshots

You can replace the contents of a repository workspace with a snapshot to restore it to a previous state.

Procedure

  1. Complete, deliver, or suspend and active change sets in the repository workspace.
    If you do not, the changes are overwritten by the replacement.
  2. In the Pending Changes tool window, right-click the repository workspace and click Replace With > Snapshot.
    To replace the repository workspace contents with the latest snapshot in the target stream, click Replace With > Latest from name_of_stream.
  3. In the Select a Snapshot window, specify where to search for the snapshot and click Next.
  4. Select the snapshot to use, and click OK.

Results

The contents of your repository workspace are replaced with the baselines included in the snapshot.