由于服务器地址变更,SVN的操作会受到影响。之前的working copy,请在根目录下使用svn switch切换服务器地址。
 
svn switch的用法如下:
 
switch (sw): Update the working copy to a different URL.
usage: 1. switch URL[@PEGREV] [PATH]
       2. switch --relocate FROM TO [PATH...]

1. Update the working copy to mirror a new URL within the repository.
     This behavior is similar to 'svn update', and is the way to
     move a working copy to a branch or tag within the same repository.
     If specified, PEGREV determines in which revision the target is first
     looked up.
 
     If --force is used, unversioned obstructing paths in the working
     copy do not automatically cause a failure if the switch attempts to
     add the same path.  If the obstructing path is the same type (file
     or directory) as the corresponding path in the repository it becomes
     versioned but its contents are left 'as-is' in the working copy.
     This means that an obstructing directory's unversioned children may
     also obstruct and become versioned.  For files, any content differences
     between the obstruction and the repository are treated like a local
     modification to the working copy.  All properties from the repository
     are applied to the obstructing path.
 
     Use the --set-depth option to set a new working copy depth on the
     targets of this operation.
 
  2. 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.
 
以solution/sc8810/branches/GC为例,在working copy的根目录下:
 
1) 查看以前的版本库目录:
lyf@ntd-home:~/sc8810/GC$ svn info
Path: .
URL: svn://172.16.1.27/solution/sc8810/branches/GC
Repository Root: svn://172.16.1.27/solution/sc8810
Repository UUID: a3d0e4bb-684d-4f22-b509-0e5f8c0de5bb
Revision: 1346
Node Kind: directory
Schedule: normal
Last Changed Author: ZCL
Last Changed Rev: 1345
Last Changed Date: 2012-11-09 16:39:04 +0800 (浜? 09 11?2012)
 
2) 执行svn switch命令切换版本库:
svn switch --relocate svn://172.16.1.27/solution/sc8810/branches/GC svn://172.16.2.53/solution/sc8810/branches/GC --username xxx --password xxx
 
3) 查看切换后的版本库目录:
lyf@ntd-home:~/sc8810/GC$ svn info
Path: .
URL: svn://172.16.2.53/solution/sc8810/branches/GC
Repository Root: svn://172.16.2.53/solution/sc8810
Repository UUID: a3d0e4bb-684d-4f22-b509-0e5f8c0de5bb
Revision: 1346
Node Kind: directory
Schedule: normal
Last Changed Author: ZCL
Last Changed Rev: 1345
Last Changed Date: 2012-11-09 16:39:04 +0800 (浜? 09 11?2012)
...

svn 服务器ip地址变更相关推荐

  1. 2.25~当svn服务器ip地址变了怎么办?

    1.当svn服务器ip地址变了怎么办? svn switch --relocate svn://OldIp/testProject svn://NewIp/testProject  客户端用这条命令可 ...

  2. 用友t3修改服务器ip,用友T3服务器ip地址变更

    用友T3服务器ip地址变更 内容精选 换一换 当进行分布式训练时,需要通过昇腾软件中的HCCN Tool工具配置device的网卡IP,用于多个device间通信以实现网络模型参数的同步更新.本章节只 ...

  3. 服务器ip地址变化 u8修改,u8服务器ip地址变更后如何设置

    u8服务器ip地址变更后如何设置 内容精选 换一换 本章节介绍如何使用管理控制台向导创建裸金属服务器.创建裸金属服务器时,您需要配置规格.镜像.存储.网络.安全组等必备信息.同时,向导也提供了丰富的扩 ...

  4. QC11服务器IP地址变更修改数据库配置文件

    公司IP地址大变更,导致原来的QC11无法访问,修改配置文件和数据库,就可以使用新IP访问了QC了! 1.修改配置文件,修改WEB-INF下的siteadmin.xml文件,这里需要特别注意,不是在安 ...

  5. Mac中使用svn命令行更换svn服务器IP地址

    1.使用 svn info (查看当前 URL 地址) 2.使用 svn relocate 旧地址 新地址 (进行新地址修改) 3.再使用 svn info (查看是否修改成功)

  6. SVN服务器IP地址更改后,eclipse SVN客户端重新定位

    打开eclipse依次点击Windows -- show View -- Other... 输入SVN,选择SVN资源库 右键SVN路径,选择重新定位,后续根据提示进行操作更改即可.

  7. 浪潮服务器修改ipmi账号密码,通过ipmitool批量修改服务器ipmi的syslog目标服务器IP地址与端口号...

    因syslog服务器IP地址变更需要,我们可能需要去修改服务器的ipmi里面的syslog服务器,但是如果手动修改的话费事费力还容易出错.如果不使用厂商自己的批量工具我们可以尝试通过ipmitool工 ...

  8. svn设置 修改服务器,svn设置 修改服务器ip地址

    svn设置 修改服务器ip地址 内容精选 换一换 介绍单机场景和集群场景配置Ansible主机信息. 日志记录了系统的运行情况和功能流程的处理情况,是维护人员查看系统状态.进行问题定位的重要工具和手段 ...

  9. 服务器IP地址改变后SVN重新定位失败问题的解决

    服务器IP地址发生改变后,服务器中的SVN资源依然存在,但此时已无法实现代码的下载提交和更新.对SVN资源库进行重新定位Relocate却定位失败,尝试以下办法: 1.检查SVN进程服务是否存在: p ...

  10. ad域服务器站点,如何变更站点 AD 域服务器IP地址

    在 winserver 2012  单森林单域,多站点环境中,想把某一个站点AD 域服务器IP地址更改,要如何操作,才能保证客户端正常运行,不影响客户端的运行.有些朋友也经常提出类似问题. 想在不影响 ...

最新文章

  1. [QA]Python字节码优化问题
  2. 解决修改properties 属性文件存在缓存问题,附带操作properties文件工具类
  3. [锋利JQ]-图片提示效果
  4. css3 奇技淫巧 - 如何给小汽车换个背景色谈起
  5. [html] input上传文件可以同时选择多张吗?怎么设置?
  6. python自动控制库_一个可以自动化控制鼠标键盘的库:PyAUtoGUI
  7. 数学图形(1.47)贝塞尔(Bézier)曲线
  8. log4j2 日志框架小记
  9. webpack打包样式资源_使用loader去打包css文件_打包less文件---webpack工作笔记004
  10. mysql数据库建表的作用_浅谈(SQL Server)数据库中系统表的作用
  11. Android 旋转动画简单实现
  12. 微信聊天记录导出和年度报告制作小软件
  13. php13 质粒 cm erm 抗生素,PHP13 会话控制 - osc_c0g7cjrk的个人空间 - OSCHINA - 中文开源技术交流社区...
  14. Android Service保活方法总结
  15. Excel表格不小心删除怎么恢复,excel表格误删怎么找回
  16. multisim电流探棒怎么改变方向?MULTISIM电流探
  17. 进入BeOS的花花世界 系列九
  18. c语言程序学生籍贯信息记录,c语言程序学生籍贯信息记录簿设计.doc
  19. 多级雷达图绘制python_Python 详解雷达图/蛛网图
  20. python中一个函数调用另一个函数中的变量

热门文章

  1. html中电子邮件地址怎么写,电子邮件地址怎么写
  2. 从最终用户角度来看外部结构_从不同角度来看您最喜欢的游戏
  3. 量化投资学习——Boost多因子选股综述
  4. yapi 权限_YApi内部部署文档
  5. 利用纯m文件生成ui(二)
  6. 图计算简介和Pregel简介
  7. Java基础--封装--继承 某公司的雇员分为以下若干类:Employee:这是所有员工总的父类。 SalariedEmployee:Employee的子类
  8. java生成iso9660工具_UltraISO 软碟通 (ISO编辑工具)
  9. unity摄像机带碰撞检测 摄像机碰到带碰撞物体自动拉近
  10. 组策略 禁止用户策略下发到指定计算机,使用组策略禁止域用户运行特定程序...