Search code examples
javaeclipsesvnsynchronizationrevert

Eclipse: Difference between 'Revert' and 'Override and Update'


What is the difference between 'Revert' and 'Override and Update' options from Eclipse (team synchronization - SVN (Workspace) - Outgoing mode)?

Thanks in advance.


Solution

  • Revert:

    Reverts a file to what it was before it was modified, that is, it gets back to its original revision, dropping any differences between the working copy and that specific revision on the server.

    basically: reverts the file changes to the unmodified state. Old revision.

    Override and update:

    Uploads a newer copy of a file over a modified working copy, dropping any changes and making the file "up to date" as seen by the server.

    basically: replaces the selected resource local copy with one from the repository. Revision as seen by the server.

    source