SVN - Change working copy to point at new svn path

path, svn, working-copy

Solution

`svn switch --relocate` is deprecated as of version 1.7 of subversion. Use the `svn relocate` command instead.

It takes either `FROM-PREFIX TO-PREFIX [PATH...]` or `TO-URL` as arguments.

See

`svn help relocate`

for more information.

Problem

I've got a SVN Repository that has moved to a new address/path. However, I've got a working copy with uncommitted source code still pointing to the old (now invalid) repository path. How do you change a working copy to point at a new repository?

Original source