首先进入终端
cd 项目工作目录/
接着通过下面的代码查看svn信息
svn info
下面使输出结果
Path: .
Working Copy Root Path: /Users/username/Desktop/ios_work
URL: http://liminjian@192.168.0.9:10981/svn/work/ios_work
Relative URL: ^/ios_work
Repository Root: http://192.168.0.9:10981/svn/work
Repository UUID: 7de9c66e-7ca3-b843-94c5-fc749563cc86
Revision: 12584
Node Kind: directory
Schedule: normal
Last Changed Author: username
Last Changed Rev: 12584
Last Changed Date: 2016-10-28 09:59:51 +0800 (三, 28 10 2016)
最后使用下面的命令切换地址就可以了
svn switch --relocate 原地址 新地址
转载自:https://www.jianshu.com/p/3ffea617ebf4