Recently on the virtual machine on the Ubuntu server set up SVN server, found that each restart the server, IP will change, so the previous check out of the project will need to change SVN address, of course, you can also checkout a copy, here is the change.
For example, my project directory is/var/www/html/, the directory has the following several:
I want to change the address of Helloyii, first switch to the project directory, note that must be switched to the project directory, command: SVN switch--relocate old Repository root (New Repository root) address can View from SVN info
Execute command: sudo svn switch--relocate svn://10.19.166.156/svn://192.168.222.128/(because it is already under this directory, do not need to add directory name)
Finally: sudo svn update try to update successfully!
The following questions will appear if you add a directory: