使用“git svn clone”将SVN转换为Git导入问题 [英] SVN to Git import problem using "git svn clone"

查看:394
本文介绍了使用“git svn clone”将SVN转换为Git导入问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当试图在Git中导入我的SVN仓库时,使用以下命令:

git svn clone -s https://xx.xx.xx.xxx/repo/iphone/project ./project

它运行了很长一段时间,然后终于出现以下错误:



RA层申请失败:'/ repo /!svn / vcc / default'的REPORT:SSL协商失败:SSL错误:解析/ usr中的tlsext(https://xx.xx.xx.xxx) / local / git / libexec / git-core / git-svn line 5091



有没有人见过这个问题? b $ b

解决方案

我从来没有想到这一点。我最终做了一个 svnsync 来移动整个存储库在本地,然后从那里运行:

  git svn clone -s file:/// pathtolocal / repo / iphone / project ./project 

我的想法是,SSL连接在运行一段时间后会消失并弄乱克隆。



更详细的解释在我们的博客上可以找到逐步说明:
永久的SVN到Git过渡



现在我们设置纯Git快乐。


When trying to import my SVN repo in Git, using the following command:

git svn clone -s https://xx.xx.xx.xxx/repo/iphone/project ./project

It runs for a long while and then finally craps out with the following error:

RA layer request failed: REPORT of '/repo/!svn/vcc/default': SSL negotiation failed: SSL error: parse tlsext (https://xx.xx.xx.xxx) at /usr/local/git/libexec/git-core/git-svn line 5091

Has anyone ever seen this problem?

解决方案

I was never able to figure this out. I ended up doing an svnsync to move the entire repository down locally, and then from there I would run:

git svn clone -s file:///pathtolocal/repo/iphone/project ./project

My thought is that the SSL connection would die out after running for a while and mess up the clone.

A more detailed explanation with step-by-step instructions is found here on our blog: Permanent SVN to Git Transition

Now we are setup with pure Git happiness.

这篇关于使用“git svn clone”将SVN转换为Git导入问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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