The Revert To Previous Version button is available from the Contents page (in all editions) and the Info page (in Enterprise edition) of the history view. When you click the Revert To Previous Version button the Revert Confirmation dialog box displays.
Reverting to a previous version makes the targeted version the most current version again. Reversion eliminates everything in the editor buffer but preserves all the intermediate saved versions of the file. If the affected file is under CVS version control, remember to commit the file after it has been reverted so that you have a chance to document what version numbers you reverted from and to, and so that changes become available to other developers.
Let's look at an example.
Here we have three versions of Frame1.java
:
We select revision number 1. We click the Revert To Previous Version button . The Revert Confirmation dialog box displays and we click OK or press Enter to confirm the reversion. We click OK or press Enter again to return to the AppBrowser. This is the result of the reversion:
When we saved the Local File version after we reverted, it became Local Backup ~4~ and the reverted version became the Local File version.