将 SVN 移动到其他服务器错误 [英] Moving SVN to other server error

查看:33
本文介绍了将 SVN 移动到其他服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将我的 SVN 移动到一个新服务器,所以我想创建它的副本.

svnadmin 创建 c:\backuprepo回声退出 0 >c:\backuprepo\hooks\pre-revprop-change.batsvnsync init file:///c:/backuprepo https://url/of/your/repositorysvnsync 同步文件:///c:/backuprepo

复制完成(我希望我做对了).然后,我想测试一下,所以我想结帐:

server_ip:8080/backuprepo

然后我收到错误:

也许端口号有误?任何想法如何解决它?

编辑 1

根据 :

'D:\Development\SVN\Releases\TortoiseSVN-1.7.3\ext\subversion\subversion\libsvn_client\checkout.c'第 94 行:断言失败(svn_uri_is_canonical(url, pool))

<块引用>

那么我的猜测是缺少 URI 方案和://"前缀导致了断言.

换句话说,https://server_ip:8080/backuprepo 地址应该更有效.

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

解决方案

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.

这篇关于将 SVN 移动到其他服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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