Revert Confirmation dialog box

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 content of 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 are three versions of Frame1.java. The most current version, the Local File version, is selected in the revision list and its content is displayed in the source view pane:

Three backup versions of Frame1.java

In this example, the user selects revision number 1 then clicks the Revert To Previous Version button . The Revert Confirmation dialog box displays and the user clicks OK or presses Enter to confirm the reversion. The user clicks OK or presses Enter again to return to the AppBrowser.

This is the result of the reversion:

Four backup versions of Frame1.java

Notice that when the user saves the Local File version after reverting, it becomes Local Backup ~4~ and the reverted version becomes the Local File version.