开发者

SVN to Git import problem using "git svn clone"

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.


Can you do this?

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜