Maurizio
Maurizio

Reputation: 4169

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?

Upvotes: 3

Views: 888

Answers (2)

Maurizio
Maurizio

Reputation: 4169

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.

Upvotes: 1

Nerian
Nerian

Reputation: 16177

Can you do this?

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

Upvotes: 0

Related Questions