form1.cn
Make a little progress every day

windows和linux更换svnIP或地址的方法

08th of February 2017 Linux SVN 2747

阿里云物理服务器做了迁移,好多服务器的IP都变了,之前的SVN设置好了,现在需要更换地址

查询原地址的方法:

root@form1-desktop:codes# svn info  
路径: .  
URL: http://192.168.1.58/repos   
版本库根: http://192.168.1.58/repos/linux_monitor  
版本库 UUID: 81fe7417-a8b1-40d6-90b8-661973047dc1  
版本: 80  
节点种类: 目录  
调度: 正常  
最后修改的作者: form1  
最后修改的版本: 80  
最后修改的时间: 2016-07-10 13:30:13 +0800 (三, 2013-07-10)  
root@form1-desktop:codes#



更新为新地址的方法:


Linux下:

root@form1-desktop:codes# svn switch --relocate http://192.168.1.58/repos  http://192.168.1.13/repos



Windows下: