Moving SVN to other server error

耗尽温柔 提交于 2019-12-24 10:10:14

问题


I must move my SVN to a new server, so I wanted to create its copy.

svnadmin create c:\backuprepo
echo exit 0 > c:\backuprepo\hooks\pre-revprop-change.bat
svnsync init file:///c:/backuprepo https://url/of/your/repository
svnsync sync file:///c:/backuprepo

and the copy was been done (I hope I've done it correctly). Then, I want to test it, so I want to checkout:

server_ip:8080/backuprepo

and I get the error:

Maybe the port number is wrong ? Any ideas how to fix it ?

EDIT 1

according to the VonC's answer, I get that error:

EDIT 2

SOLVED:

I had to additionally install the VisualSVN Server. Inside it, I've created the user account for the repository, then I run again all the scripts (the top of this topic). Aha, I had also set tup the 443 port number during the VisualSVN installation


回答1:


If this is similar to this thread:

'D:\Development\SVN\Releases\TortoiseSVN-1.7.3\ext\subversion\subversion\libsvn_client\checkout.c'
 line 94: assertion failed (svn_uri_is_canonical(url, pool))

then my guess is that the lack of a URI scheme and "://" prefix caused the assertion.

In other words, a https://server_ip:8080/backuprepo address should work better.



来源:https://stackoverflow.com/questions/8802850/moving-svn-to-other-server-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!