1。查看仓库地址(URL)
#> svn info
路径:.
地址(URL):http://192.168.28.1/repos/test
档案库 UUID:a81f9bed-3506-0410-b369-e50476f75162
修订版:44
节点种类:目录
调度:正常
最后修改的作者:yanghong
最后修改的修订版:44
最后修改的时间: 2005-11-24 16:05:30 +0800 (四, 24 11月 2005)
可以看到地址为:"http://192.168.28.1/repos/test"
2。更改仓库地址(URL)
#> svn switch --relocate http://192.168.28.1/repos/test https://192.168.28.1/repos/test
验证“https://192.168.28.1:443”的服务器凭证时发生错误:
- 本凭证并不是由受信任的权威机权所核发。请手动利用指纹以验证
凭证的有效性!
- 本凭证的主机名称不符。
凭证信息:
- 主机名称:(www|svn|ftp|developers).cocreate.com.cn
- 有效期间:自 Dec 22 02:52:50 2005 GMT 至 Jan 21 02:52:50 2006 GMT
- 发行者:Co-Create Open Source Software Co.,Ltd., BeiJing, BeiJing, CN
- 指纹:63:62:b9:9e:61:c2:10:d2:ae:49:81:87:a3:57:a8:e4:76:42:6f:c8
(R)拒绝,(t)暂时接受 或 (p)永远接受?p
Q:我的SVN服务器换地址了,我在客户端要做什么变化?
A:
1,将当前的用户在SVN客户端当前路径切换到当初更新SVN的位置上.
2,执行命令:svn switch --relocate (Old Repository Root) (New Repository Root)
Old Repository Root可以通过:svn info来查看.
3,svn update就可以正常的更新你的系统了.
附SVN INFO的内容范例:
$ svn info
Path: .
URL: http://svn.svn.com/ProjectName/Trunk/Project
Repository Root: http://svn.svn.com/ProjectName
Repository UUID: 149e7728-2900-0410-bded-c30b68e36566
Revision: Numbver
Node Kind: directory
Schedule: normal
Last Changed Author: Programmer Nme
Last Changed Rev: Number
Last Changed Date: 2009-02-14 12:39:08 +0800 (Sat, 14 Feb 2009)
【上篇】Git commit your changes or stash them before you can merge
【下篇】svn提交错误file is scheduled for addition, but is missing
【下篇】svn提交错误file is scheduled for addition, but is missing