Replace menu

# Replace

## Overview

A project resource can be replaced with an earlier revision of the resource from the repository.

## Process

To replace Workbench resources with versions in the repository, select a resource in one of the navigation views. From the resource's context menu, select one of the following menu items:

Replace With > Base Revision

Use this option to replace the selected resource with the pristine version of the resource stored in your working copy.

Replace With > Latest from Repository

This option will replace the local resource with the latest version from the repository.

Replace With > Revision

Use this option to replace a resource with a specific revision of a resource in the repository.

### Local History

Local history of a file is maintained when you create or modify a file. Each time you edit and save a file, a copy of it is saved. This allows you to compare your current file state to a previous state, or replace the file with a previous state. Each state in the local history is identified by the date and time the file was saved. Neither projects nor folders have local history.

Replace With > Previous from Local History

Use this option to replace the selected resource with the previous revision from your local revision history.

Replace With > Local History

Use this option when you want to replace the selected resource with a specific revision (other than the immediately previous revision) from your local revision history.

Related Tasks

None

Related Reference

None