项目SVN地址更换,因此需要在SVN地址。
查看原有svn信息
[root@webtest edu]# svn info
Path: .
URL: https://192.168.50.118:18080/svn/xxx/
Repository Root: https://192.168.50.118:18080/svn/xxx
Repository UUID: 368c7231-cc6e-429c-bc2e-8777b5c89640
Revision: 7067
Node Kind: directory
Schedule: normal
Last Changed Author: xxx
Last Changed Rev: 7067
Last Changed Date: 2016-11-03 13:00:05 +0800 (Thu,03 Nov 2016)
更换SVN仓库
switch –relocate FROM TO [PATH…]
[root@webtest edu]# svn switch --relocate https://192.168.50.118:18080/repos/test https://192.168.50.118:18080/repos/test
更换SVN的URL地址
switch URL[@PEGREV] [PATH]
[root@webtest edu]# svn switch https://192.168.50.118:18080/repos/test