Main Content

Revert Changes in SVN Source Control

Revert Local Changes

To roll back local changes in a file under SVN source control, right-click the file and select Source Control > Revert Local Changes and Release Locks. This command releases locks and reverts to the version in the last sandbox update (that is, the last version you synchronized or retrieved from the repository). If your file is not locked, the menu option is Source Control > Revert Local Changes. To abandon all local changes, select all the files in the Current Folder browser before you select the command.

Revert a File to a Specified Revision

  1. Right-click a file in the Current Folder browser and select Source Control > Revert using SVN.

  2. In the Revert Files dialog box, choose a revision to revert to. Select a revision to view information about the change such as the author, date, and log message.

  3. Click Revert.

If you revert a file to an earlier revision and then make changes, you cannot commit the file until you resolve the conflict with the repository history.

Related Topics