Rolling back files

Roll back files if you need to revert to a previous file version. Any changes made to a file are discarded. The version number increments even though the contents are the same as a previous version. For example, the current version is 5 and you roll back to version 3. After the rollback, the new version is 6. Version 3 and version 6 have the same contents.

When you roll back a shared file, all the shared files are affected. If you only want to change the file in the specified repository, break the share then roll back the file.

If multiple files were updated when a changelist was committed, you can rollback the changelist action to revert all the files at the same time. See Rolling back changelist actions.

1. Select the file and choose Activities > History.

The History dialog box opens.

2. Select the file version to roll back to and click Rollback File.

The Rollback File dialog box opens.

3. Enter any comments and click OK.

The file is rolled back to the selected version. The version number increments by one and a rollback file action is added to the file history.

By default, the workflow state of the new file version is the same as the most recent file version. If the Rollback state with file rollback option is selected for the workflow template, the new file version is in the same state as the version rolled back to.