How to switch subversion repository in Visual Studio using AnkhSVN?

Paulo picture Paulo · Feb 16, 2010 · Viewed 33.4k times · Source

I've been developing a project locally and using a local svn server for versioning in visual studio. I now want to switch to xp-dev hosted versioning but cannot seem to get rid of the svn bindings on my solution? Is there an easy way to duplicate a solution without its versioning settings or to simply switch to the other svn (which is completely empty)?

Answer

Sander Rijken picture Sander Rijken · Feb 17, 2010

There's a switch/relocate built-in:

  • Open View -> Pending Changes
  • Click the dropdown that shows the current repository url, or the button to the right of that
  • Enter / browse to the new location
  • A dialog comes up wether you want to relocate (because switching isn't enough here)