[Solved] Fix repository location of working copy (svn: path is not a working copy)

by Stephen Fluin 2009.04.13

Moving around source code repositories is almost guaranteed for anyone that continues software development for more than a year or two. It can cause major problems in some IDEs, because of the connections that get created between the local copy and the remote server. Althought it appears the Eclipse SVNKit tool "relocate" doesn't work, the following command will change the repository of your working copy, and fix all of the .svn/entries files automatically.

svn switch --relocate svn+ssh://hostname/old repository path svn+ssh://new hostname/new repository path

permalink