eXo Platform 3.5

## Chapter 12. Versioning

eXo IDE provides the versioning that enables you to realize the versions history of the file. With the versioning feature, you can:

- View the version's content.

- View the list of versions.

- Restore to an specified version.

A new version of the file is created each time after the file content has been saved by clicking Save. There is no versionF in the version history after the file had been created only.

## View version history

To view the version history of the file which is being opened/selected, click at the right part of the toolbar;

Or, select View --> Version History... from the top menu.

The Version pane with content of the latest version are opened at the right column of the eXo IDE window.

The version name is displayed in the title of the Version pane.

### Note

- If the selected/opened file is not versioned yet, the View Version History function will be disabled.

- The file version is opened in the read-only mode so you cannot edit it.

- If any files are opened, the Version pane of the previously opened file will be closed automatically.

## Version navigation

With eXo IDE, you can navigate to any older or newer versions of the opened file.

To view the older/newer version of the opened file, click or on the toolbar, or select View --> Older Version/Newer Version from the top menu. If there is no newer/older version, the View Newer Version/View Older Version command will be disabled respectively.

View another version from the versions history

1. Click on the toolbar;

Or, select View --> Version... from the top menu.

2. Select the target version.

3. Click Open or double-click the version item.

Versions are listed in the reverse order, with the latest version first.

## Restore a file to the older version

1. Click at the right corner of toolbar, or select File --> Restore To Version from the top menu.

2. Click Yes in the confirmation message to restore to the version.

### Note

The Restore version command is disabled, if the latest version is displayed.

Copyright © 2009-2012. All rights reserved. eXo Platform SAS