SVN切换仓库地址命令
当前的用户在SVN客户端当前路径切换到当初更新SVN的位置上
命令:svn switch --relocate (Old Repository Root) (New Repository Root)
查看当前的svn仓库地址: svn info
[root@mbku xxx]# svn info
Path: .
Working Copy Root Path: /www/wwwroot/xxx
URL: svn://47.95.196.67/xxx
Relative URL: ^/
Repository Root: svn://47.95.196.67/xxx
Repository UUID: 2fcc7583-17ac-4655-b824-f82335baa4b2
Revision: 7
Node Kind: directory
Schedule: normal
Last Changed Author: myusername
Last Changed Rev: 7
Last Changed Date: 2018-04-17 13:54:07 +0800 (Tue, 17 Apr 2018)
[root@mbku xxx]# clear
[root@mbku xxx]# svn switch --relocate svn://47.95.196.67/xxx svn://127.0.0.1/xxx
//SVN认证领域
[root@mbku xxx]# svn info
Path: .
Working Copy Root Path: /www/wwwroot/xxx
URL: svn://127.0.0.1/xxx
Relative URL: ^/
Repository Root: svn://127.0.0.1/xxx
Repository UUID: 2fcc7583-17ac-4655-b824-f82335baa4b2
Revision: 7
Node Kind: directory
Schedule: normal
Last Changed Author: myusername
Last Changed Rev: 7
Last Changed Date: 2018-04-17 13:54:07 +0800 (Tue, 17 Apr 2018)