Recently I was forced to move my development server with installed subversion version control server on it to new location and and therefore the server gained new IP address. The location of repository physically on disk is /srv/svn_firmAA/project1. Old subversion server repository address is svn://192.168.0.2:10000/srv/svn_firmAA/project1. Now, the new subversion server repository address is svn://xxx.xxx.xxx.xxx:10000/srv/svn_firmAA/project1 and I tried to relocate working copy to new IP with:svn switch --relocate svn://192.168.0.2:10000/srv/svn_firmAA/project1 svn://xxx.xxx.xxx.xxx:10000/srv/svn_firmAA/project1
and I get following error:
svn: E155024: Invalid source URL prefix: 'svn://192.168.0.2:10000/srv/svn_firmAA/project1' (does not overlap target's URL 'svn://192.168.0.2:10000')
Why?
Here is working copy svn info output:
Path: .
Working Copy Root Path: /home/user/Projects/working_copy
URL: svn://192.168.0.2:10000
Relative URL: ^/
Repository Root: svn://192.168.0.2:10000
Repository UUID: 54d40152-b288-42d4-b588-490a5dcf01bf
Revision: 579
Node Kind: directory
Schedule: normal
Last Changed Author: user
Last Changed Rev: 579
Last Changed Date: 2015-12-30 11:06:19 +0100 (sre, 30 dec 2015)
svn info new_url? - Y.Nsvn: E000110: Unable to connect to a repository at URL svn://xxx.xxx.xxx.xxx:10000/srv/svn_firmAA/project1 svn: E000110: Can't connect to host 'xxx.xxx.xxx.xxx': Connection timed outHowever, I can connect to repository remotely usingTortoiseSVNon Windows, it does not work from my Linux workstation. I think ports are setup correctly.Subversionserver listens on port10000for incoming connection, I've checked on server (here ishtopline):/usr/bin/svnserve -d --listen-port=10000 -r /srv/svn_firmAA/project1/- KernelPanicUbuntu 14.04.3 LTSand laptop with installedMS Windows 7 Ultimateand from laptop I've managed to relocate its working copy withTortoiseSVNbut I cannot relocate working copy fromLinuxworkstation. The working copy on workstation is the "main code" and I need to relocate it to (now) remote server with new IP. - KernelPanic