SVN迁移之后,在客户端对原来的库进行switch的时候,出现如下错误提示:
“[color=blue]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[/color]”
这是从http://x.x.x.4的服务器 切换到 http://x.x.x.3服务器上。
[b]原因:[/b]
可能是仓库所有者的UUID不同所造成的。
[b]解决办法:[/b]
在两台服务器上查看仓库所有者的UUID是否一样?
# [color=blue]svnlook uuid /svn[/color]
结果,查出来的uuid是一样的。
最后,通过 Tortoise 的 Relocate解决此问题:
1、“TortoiseSVN” → “Relocate”;
2、修改您所需要的URL地址,即可。
3、然后会提示您“Working copy relocate to http://x.x.x.3/svn”。
这样就大功告成了。update、switch都没有问题。
“[color=blue]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[/color]”
这是从http://x.x.x.4的服务器 切换到 http://x.x.x.3服务器上。
[b]原因:[/b]
可能是仓库所有者的UUID不同所造成的。
[b]解决办法:[/b]
在两台服务器上查看仓库所有者的UUID是否一样?
# [color=blue]svnlook uuid /svn[/color]
结果,查出来的uuid是一样的。
最后,通过 Tortoise 的 Relocate解决此问题:
1、“TortoiseSVN” → “Relocate”;
2、修改您所需要的URL地址,即可。
3、然后会提示您“Working copy relocate to http://x.x.x.3/svn”。
这样就大功告成了。update、switch都没有问题。