svn切换错误-与存储库不同 [英] svn switch error - is not the same repository

查看:138
本文介绍了svn切换错误-与存储库不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近移动了SVN服务器,现在我打算将工作副本从我的计算机重新定位到新服务器.但是我得到了最奇怪的错误. 我会的:

I have recently moved the SVN server and now i am tring to relocate the working copies from my computer to the new server. But i get the strangest error. i do :

svn switch http://99.99.99.new/svn/company/project/trunk/web

但我明白了

svn: 'http://99.99.99.old/svn/company/project/trunk/web'
is not the same repository as
'http://99.99.99.new/svn/company/project'

此操作是通过转储和导入进行的...回购根位于 http://99.99.99.new/svn/company/project

the move was made with dump and import ... and the repo root is on http://99.99.99.new/svn/company/project

你们对可能出什么问题有任何想法吗? 非常感谢

Do you guys have any ideas of what might be wrong ? thanks a lot

推荐答案

尝试使用

svn switch --relocate http://99.99.99.old/svn/company/project/trunk/web http://99.99.99.new/svn/company/project/trunk/web

如Sporino在评论中所述,从Subversion 1.7开始,有一个单独的relocate命令:

As noted by Sporino in the comments, since Subversion 1.7, there's a seperate relocate command:

svn relocate http://99.99.99.old/svn/company/project/trunk/web http://99.99.99.new/svn/company/project/trunk/web

这篇关于svn切换错误-与存储库不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆