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