Reverting Modifications (Subversion)
See Also
Occasionally it may be desirable or necessary to revert changes made to files in your
local working copy. You may need to either revert changes made locally, or retrieve
revisions from the repository, and undo any changes to files caused by these revisions.
The IDE enables you to do this using the Revert Modifications command.
To revert modifications:
- Select the versioned file for which you want to revert changes (e.g. from the Projects,
Files, Favorites or Versioning window) and
choose Revert Modifications (or Subversion > Revert Modifications). The
Revert Modifications dialog box opens,
enabling you to specify criteria.
- In the Revert Modifications dialog box, select one of three options:
- Revert Local Changes. Reverts any changes made in your local
working copy to the previously committed or updated version.
- Revert Modifications from Single Commit. Reverts the local
working copy to the repository revision made prior to the previous commit. (Specify
a revision number in the Revision text field.)
- Revert Modifications from Previous Commits. Reverts the local
working copy to a specified revision from the repository. (Specify starting and
ending revision numbers in the corresponding text fields.)
- You can delete any files or folders which were created in your local working
copy since the point which you are reverting to by selecting the Remove
Newly Added Files and Folders option.
- Click Revert. The IDE reverts any changes in the local file to a state that corresponds with
the repository version, according to the specified parameters.
- See Also
- Merging File Revisions in Subversion
- Resolving Merge Conflicts
- Updating Files in a Local Working Directory
Legal Notices