Andrew Ellis
Andrew Ellis

Reputation: 1203

Ignore revision on git-svn fetch?

I am trying to move one of my Subversion repositories to Git and am running into an interesting error... In the middle of the git-svn fetch step, I receive the following error:

r9 = d0eff6b2d1eda7fcced16227dbc613732e956f0b (refs/remotes/git-svn)
RA layer request failed: PROPFIND request failed on '/baytn/baytn/trunk': PROPFI
ND of '/baytn/baytn/trunk': 500 Internal Server Error (https://1three.svn.codeba
sehq.com) at C:\Program Files\Git/libexec/git-core/git-svn line 5047

When I go look at the revision history for the SVN repository I see that Revision #9 was an empty commit, how this happened, I am not sure.

Is there any way for me to get around this error?

Best regards,
Andrew

Upvotes: 8

Views: 5157

Answers (2)

Chris Bain
Chris Bain

Reputation: 945

If you do a git svn fetch to get all revisions and it fails on revision 9, you can just continue with:

git svn fetch -r 10:HEAD

If I know there is a revision that will be an issue, it can be skipped this way (assuming revision 9 is the problem):

git svn fetch -r 0:8
git svn fetch -r 10:HEAD

Upvotes: 16

Related Questions