My Subversion Repo Moved!

Well, it didn't strictly move anywhere but my broadband IP address changed after re-DHCP. I used to use no-ip.com, but then I no longer really host anything on my home network, so I figured could save myself 20 bucks as I didn't think I needed it anymore. Then I went to check in some old code to an old svn repo (that's another story) and of course it failed (and luckily for me, no bad guy had a repo sitting on the old ip!) Anyway, this is easily fixed by first checking the URL of the working copy and then switching it with the svn switch command:

 1server:~/svn/work$ svn info
 2Path: .
 3Working Copy Root Path: /home/mark/svn/pyf
 4URL: https://123.45.56.78/svn/pyf
 5Repository Root: https://123.45.56.78/svn/pyf
 6Repository UUID: 7e254e78-910f-47b9-b796-8845927be892
 7Revision: 31
 8Node Kind: directory
 9Schedule: normal
10Last Changed Author: mark
11Last Changed Rev: 3
12Last Changed Date: 2013-02-05 14:15:13 +0000 (Tue, 05 Feb 2013)
13server:~/svn/work$ svn switch --relocate https://123.45.56.78/svn/pyf \
14https://231.1.2.3/svn/pyf