如何使用 AnkhSVN 2.x 更改存储库 url [英] How can I change the repository url using AnkhSVN 2.x

查看:24
本文介绍了如何使用 AnkhSVN 2.x 更改存储库 url的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS 2008 上使用 Ankh v2.0.5250.202 连接到我的 Subersion 服务器(VisualSVN 服务器 1.6.3)

I'm connecting to my Subersion server (VisualSVN server 1.6.3) using Ankh v2.0.5250.202 on VS 2008

我的存储库的当前 url 是 https://svnserver:8443/svn/foo/foo/trunk/ 并且我想切换到 https://svnserver:6002/svn/foo/foo/trunk/

The current url for my repository is https://svnserver:8443/svn/foo/foo/trunk/ and I want to switch to https://svnserver:6002/svn/foo/foo/trunk/

我正在使用切换到"工具来选择待更改"窗口中网址栏右侧可用的新网址.

I'm using the "Switch To" tool to select a new URL 'available on the right hand of the url bar in the "pending changes" window.

不幸的是,当我选择新的 url 时,我收到一条错误消息,指出'https://svnserver:8443/svn/foo/foo/trunk'与存储库不同'https://svnserver:6002/svn/foo'

Unfortunately, when I select the new url, I get an error stating that 'https://svnserver:8443/svn/foo/foo/trunk' is not the same repository as 'https://svnserver:6002/svn/foo'

我尝试输入'https://svnserver:6002/svn/foo', 'https://svnserver:6002/svn/foo/foo', 'https://svnserver:6002/svn/foo/foo/trunk',但我'我总是遇到同样的错误.

I've tried to input 'https://svnserver:6002/svn/foo', 'https://svnserver:6002/svn/foo/foo', 'https://svnserver:6002/svn/foo/foo/trunk', but I'm always getting the same error.

有解决办法吗?或者我可以手动编辑的配置文件?(我没有找到这样的配置文件)

Is there a fix? Or a config file that I can manually edit ? (I didn't find such a config file)

注意:在服务器端,我刚刚更改了服务器端口,而没有触及任何其他内容.我可以使用存储库浏览器浏览存储库,所以我认为问题出在客户端.

Note : On the server side, I've juste changed the server port without touching anything else. I can browse through the repository using the repository explorer so I think the problem is on the client side.

推荐答案

在 AnkhSVN 的日常构建中(以及自 2009 年 3 月以来的稳定版本),Switch 命令将为您处理这种情况.

In the daily builds of AnkhSVN (and since March 2009 the stable version) the Switch command will handle this case for you.

AnkhSVN 将检测到存储库根目录不匹配,然后它会询问您是否要重新定位.

AnkhSVN will detect that the repository root doesn't match and then it will ask you if you wish to relocate.

请参阅 http://ankhsvn.net/daily/ 了解每日构建.

See http://ankhsvn.net/daily/ for the daily builds.

这篇关于如何使用 AnkhSVN 2.x 更改存储库 url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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