设为首页收藏本站
开启辅助访问

创星网络[分享知识 传递快乐]

 找回密码
 立即注册

QQ登录

只需一步,快速开始

用新浪微博登录

只需一步,快速搞定

搜索

如何进行svn relocate 操作

2012-8-7 22:15| 发布者: cryinglily| 查看: 679| 评论: 0|原作者: luinstein

摘要: 1。进入工作复本 # cd ~/test 2。查看仓库地址(URL) # svn info 路径:. 地址(URL):http://192.168.28.1/repos/test 档案库 UUID:a81f9bed-3506-0410-b369-e50476f75162 修订版:44 节点种类:目录 调度:正常 ...
1。进入工作复本
#> cd ~/test

2。查看仓库地址(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"

3。更改仓库地址(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)


from:http://blog.sina.com.cn/s/blog_70717ff00100pld0.html



鲜花

握手

雷人

路过

鸡蛋

相关分类

QQ|Archiver|手机版|小黑屋|创星网络 ( 苏ICP备11027519号|网站地图  

GMT+8, 2025-5-18 10:07 , Processed in 0.062098 second(s), 18 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

返回顶部