Relocate the URL of SVN Repository

Recently, SVN has been installed on a local Debian box at work. This could have been done a bit earlier in my opinion, but well it’s better be a little late than never.

The SVN server is accessed via a LAN ip: 192.168.0.126. Because we didn’t setup static IP on the router, the IP of the server keeps changing from time to time. Here’s how one can change or relocate to the new URL.

With command line, just type:

svn switch --relocate OLD_URL NEW_URL

Using Tortoise SVN on Windows:

svn_relocate

Credit: How to change the URL of your SVN repository