Search code examples
svnpathworking-copy

SVN - Change working copy to point at new svn path


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?


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.