Home

 

How to compare, replace, and restore local history

To compare a file with the local history, do these steps:

This procedure assumes that you have a Java file in your workspace. If you do not, you should add or create a file.

Select the Java file, right-click, and select Compare With Æ Local History.

In the upper pane of the Compare with Local History dialog, all available editions of the file in the local history are displayed.

Select an edition in the upper pane to view the differences between the selected edition and the edition in the workbench.

If you are done with the comparison, click OK.

To replace a file with an edition from the local history, do these steps:

This assumes you have a Java file in your workspace. If you do not, add or create a file.

Select the file, right-click, and select Replace With Æ Local History.

Select the desired file time stamp and then click Replace.

To restore a deleted file from the local history, do these steps:

Select the folder or project into which you want to restore the deleted file.

Right-click and select Restore from Local History.

Select the files that you want to restore and click Restore.
ibm.com/redbooks