How to change the repository url using AnkhSVN 2.x

ankhsvnsvn

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

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.

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'

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.

Best Answer

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

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

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

Related Topic