SVN -客户端URL地址修改命令

 SVN客户端URL地址修改命令:. switch --relocate FROM TO [PATH...]

 

Rewrite working copy URL metadata to reflect a syntactic change only.

This is used when repository's root URL changes (such as a scheme

or hostname change) but your working copy still reflects the same

directory within the same repository.

 

svn switch --relocate http://***.**.**.***/web1/  http://***.**.**.***/web1 



Authentication realm: <svn://***.**.**.***:3690> 885f4780-02c0-43e1-b59f-e0f9f67ad98c
Password for 'mac': *

Authentication realm: <svn://***.**.**.***:3690> 885f4780-02c0-43e1-b59f-e0f9f67ad98c
Username: zy
Password for 'zy': ******


另一个可能遇到的:

错误svn: The repository at 'svn://xxxxx' has uuid 'XXXX', but the WC has 'XXXX'“        

就是重新checkout比较快。           




     本文转自phpervip 51CTO博客,原文链接:http://blog.51cto.com/phpervip/1907868,如需转载请自行联系原作者


上一篇:职业电竞选手的Java大神路——对话阿里云 MVP周志明


下一篇:写缓冲(change buffer),这次彻底懂了!!!