Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git svn clone fails on Mac OS X: "Temp file with moniker 'svn_delta' already in use"

I've installed git-core (+svn) on my Mac from MacPorts. This has given me:

git-core @1.7.12.2_0+credential_osxkeychain+doc+pcre+python27+svn
subversion @1.7.6_2 

I'm attempting to call something like the following:

git svn clone http://my.svn.com/svn/area/subarea/project -s

The output looks something like this:

Initialized empty Git repository in /Users/bitwise/work/svn/project/.git/
Using higher level of URL: http://my.svn.com/svn/area/subarea/project => http://my.svn.com/svn/area
A   folder/file.txt
    A       folder/file2.txt
   [... some number of files from svn ... ]
    A       folder44/file0.txt
Temp file with moniker 'svn_delta' already in use at /opt/local/lib/perl5/site_perl/5.12.4/Git.pm line 1024.

I've done the usual searches but most of the threads seem to trail off without proposing a clear fix.

like image 387
BitwiseMan Avatar asked Oct 03 '12 00:10

BitwiseMan


1 Answers

Add this setting to your ~/.subversion/servers file:

[global]
http-bulk-updates=on

I had this issue on Linux, and saw the above workaround on this thread. I think I ran into this because I forced Alien SVN to build with subversion 1.8 which uses the serf library now instead of neon for https, and apparently git-svn doesn't play nicely with serf.

like image 74
Banjer Avatar answered Oct 11 '22 14:10

Banjer