SVN to Git import problem using “git svn clone”

徘徊边缘 提交于 2020-01-01 15:52:07

问题


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?


回答1:


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.




回答2:


Can you do this?

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


来源:https://stackoverflow.com/questions/4838834/svn-to-git-import-problem-using-git-svn-clone

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