Error: 'http://x.x.x.4/svn is not the same repository as 'http://x.x.x.3/svn

SVN迁移之后,在客户端对原来的库进行switch的时候,出现如下错误提示:
Command  Switch E:\svn to http://x.x.x.3/svn, Revision HEAD
  Error  'http://x.x.x.4/svn is not the same repository as 'http://x.x.x.3/svn


这是从http://x.x.x.4的服务器 切换到 http://x.x.x.3服务器上。

原因:
      可能是仓库所有者的UUID不同所造成的。

解决办法:
      在两台服务器上查看仓库所有者的UUID是否一样?
      # svnlook uuid /svn
      结果,查出来的uuid是一样的。

      最后,通过 Tortoise 的 Relocate解决此问题:
      1、“TortoiseSVN” → “Relocate”;
      2、修改您所需要的URL地址,即可。
      3、然后会提示您“Working copy relocate to http://x.x.x.3/svn”。
      这样就大功告成了。update、switch都没有问题。




猜你喜欢

转载自morgan363.iteye.com/blog/706501
x