SVN版本库修改URL路径或者IP地址

svn   relocate  

1、Windows TortoiseSVN客户端: 

  • 在工作复本的根目录上右键->TortoiseSVN->重新定位(Relocate),然后修改URL, 

2、Mac OS或Linux客户端: 

  • 命令
svn sw --relocate svn://old_ip/目录 svn://new_ip/目录
  • 例如
svn sw --relocate svn://svn.imdst.com/test/  http://svn.imdst.com/test/  
Authentication realm: <http://svn.imdst.com:80> Authorization SVN OF TEST  
Password for 'root':  
Authentication realm: <http://svn.imdst.com:80> Authorization SVN OF TEST  
Username: readonly  
Password for 'readonly': 

-----------------------------------------------------------------------
ATTENTION!  Your password for authentication realm:

   <http://svn.imdst.com:80> Authorization SVN OF TEST

can only be stored to disk unencrypted!  You are advised to configure  
your system so that Subversion can store passwords encrypted, if  
possible.  See the documentation for details.

You can avoid future appearances of this warning by setting the value  
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in  
'/root/.subversion/servers'.  
-----------------------------------------------------------------------
Store password unencrypted (yes/no)?  

收藏文章
表情删除后不可恢复,是否删除
取消
确定
图片正在上传,请稍后...
评论内容为空!
还没有评论,快来抢沙发吧!
按钮 内容不能为空!
立刻说两句吧! 查看0条评论