git svn clone在Mac OS X上失败:"带有名字对象'svn_delta'的临时文件已经在使用中"

Bit*_*Man 13 svn git macos perl macports

我已经在我的Mac上从MacPorts安装了git-core(+ svn).这给了我:

git-core @1.7.12.2_0+credential_osxkeychain+doc+pcre+python27+svn
subversion @1.7.6_2 
Run Code Online (Sandbox Code Playgroud)

我试图打电话给以下内容:

git svn clone http://my.svn.com/svn/area/subarea/project -s
Run Code Online (Sandbox Code Playgroud)

输出看起来像这样:

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.
Run Code Online (Sandbox Code Playgroud)

我已经完成了通常的搜索,但大多数线程似乎都没有提出明确的解决方案.

Ban*_*jer 25

将此设置添加到您的~/.subversion/servers文件中:

[global]
http-bulk-updates=on
Run Code Online (Sandbox Code Playgroud)

我在Linux上遇到过这个问题,并在此主题上看到了上述解决方法.我我遇到了这个,因为我强迫Alien SVN使用subversion 1.8进行构建,现在使用serf库而不是用于https的霓虹灯,显然git-svn不能很好地与serf一起使用.

  • 当我通过https://launchpad.net/~dominik-stadler/+archive/subversion-1.8/+packages升级到Ubuntu Precise上的Subversion 1.8时,这对我有用. (2认同)