且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

解决svn迁移过程中出现:SVN Error: is not the same repository as的问题

更新时间:2022-04-16 15:07:58

一、背景

  由于公司业务的需要,新购买了一批机器,那么面临着的就是svn等一系列东西进行迁移的问题,在svn迁移以后,本地的svn代码在切换时出现了SVN Error: 旧服务器地址 is not the same repository as 新服务器地址 的问题。

二、解决办法

  在eclipse中进行该项操作总是会报这个错误。最后经查资料通过以下方式得到解决:

  1.安装Tortoise 客户端,使用其Relocate功能进行解决。

  2.“TortoiseSVN” → “Relocate”。

    解决svn迁移过程中出现:SVN Error: is not the same repository as的问题

  3.修改您所需要的URL地址,即可。

    解决svn迁移过程中出现:SVN Error: is not the same repository as的问题

  4.然后会提示您“Working copy relocate to http://192.168.101.130/svn”。

    解决svn迁移过程中出现:SVN Error: is not the same repository as的问题

大功告成,完美解决出现的问题!