VisualSVN change existing URL

dave k picture dave k · Aug 31, 2011 · Viewed 7.4k times · Source

The company I work for has updated it's DNS server and changed it's name. Now I can't get VisualSVN to accept the change.

The URL was https://dev.xyzdns.local:8443/svn/project and now it needs to be https://dev.xyz.local:8443/svn/project. If I try to change the URL in Visual Studio 2010, it comes up with the switch to branch window, I click OK and it tells me that the old and new repository are not the same. I've also tried manually going through the registry and the VisualSVN folders and changing references to the new DNS name and to no avail. If it matters, the SVN server and primary development computer are the same.

What can I do?

Answer

Niels Schmidt picture Niels Schmidt · Nov 16, 2013

Use TortoiseSVN, rightclick the top most folder you checked-out your svn repository to on your harddrive.

Select TortoiseSVN --> Relocate.

Simply type in the new url, and click OK. Without even restarting Visual studio, you can commit/update with the new url.