Skip to main content

Command: Revert, Revert project

Symbol: _svn_icon_revert.png

Function: The command opens the Revert dialog. In the dialog, select the objects whose local changes should be reverted, and those that are reverted to the state of the base revision of the working copy.

Call:

  • Project → SVN menu

  • Context menu → SVN

If you select nothing or the main node in the device tree, then all modified objects are listed in this dialog (Revert project). If you selected one or more objects, then only the changes to this object are listed and recursively their sub-objects (Revert).

Dialog: Revert

Group externals

standard icon: The external definitions are displayed in groups according to their external locations.

Keep Locks

standard icon: The lock is retained for all files that are modified by the revert command.

Select/Deselect All

When an external is deleted, CODESYS SVN cannot restore this data in SVN offline mode. The user is prompted for how to continue:

  • Switch back to SVN online mode and call the externals.

  • Connect now to the SVN server one time in order to complete the current operation, but afterwards switch back to SVN offline mode.

  • Skip the retrieval of the externals. They can be fetched later by updating the project.