You are here: User Guide > Tasks > Using Local History > Replacing Files

Replacing Files

This procedure describes how to replace a current file with a previous version from the Local History.

 

 

Instructions on how to complete a procedure

To revert a file to one of its previous states:

  1. Right-click the file in PHP Explorer view and select Replace With | Local History.

  2. The "Compare" dialog will be displayed with a list of the previous versions of the file, according to when they were last saved.

  3. Double-click a previous version to view it in the Text Compare pane.

  4. Once you have found the required version, click Replace.

The current working file will be replaced by the chosen local history file.

Note:

To replace a file with the last saved file, right-click anywhere in the editor and select Replace With | Previous From Local History.

 

 

Related Links:

Local History

Using Local History

Comparing_Files

Restoring Deleted Files

 

 

©1999-2012 Zend Technologies LTD. All rights reserved.