Difference between 'Team-> Update to HEAD' and 'Replace With-> Latest from Repository'?

subclipse, svn

Solution

This should be explained in the Subclipse help that comes with the plugin.

`Team -> Update to HEAD` is the equivalent of `svn update` - the current state of the latest revision is merged into your WC with any local uncommitted changes you might have. Work should not be lost (you may have a merge conflict)

`Replace with -> Latest from Repository` ignores local changes and replaces your local copy with the latest version in the repository. Local uncommitted changes will be lost.

Problem

What is the difference between the `Team-> Update to HEAD` and `Replace With-> Latest from Repository`? I frequently use both of them but never know the difference. Note: My platform is Ubuntu, Eclipse Kepler with Subclipse 1.8.x

Original source