Changing the domain of a subversion working copy
I recently moved dinshawdesign.com to Hosting Rails. I am much happier with the fcgi performance, uptime, and support then I ever was at Site5. They (Site5) do, however, offer 1.5 terabytes of server space for $4.00 / month so I left all my repositories there.
But then I had to fix all my working copies to point to the ip instead of the domain (I am going to use the ip by default for subverion repositories from now on).
I found and tweaked this unix/perl command from some mailing list:
sudo find . -name 'entries' |xargs perl -pi -e 's/dinshawdesign\.com/74.53.208.111/g' |