git svn clone 在 Mac OS X 上失败:“名称为‘svn_delta’的临时文件已在使用中”

2024-04-22

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

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

我正在尝试调用类似以下内容的内容:

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

输出看起来像这样:

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.

我已经完成了通常的搜索,但大多数线程似乎都在没有提出明确的修复方案的情况下消失。


将此设置添加到您的~/.subversion/servers file:

[global]
http-bulk-updates=on

我在 Linux 上遇到了这个问题,并在上​​面看到了解决方法这个线程 http://mail-archives.apache.org/mod_mbox/subversion-users/201307.mbox/%3C51D79BDD.5020106@wandisco.com%3E. I think我遇到这个是因为我强迫外星人SVN http://search.cpan.org/~mschwern/Alien-SVN-v1.7.3.1/src/subversion/subversion/bindings/swig/perl/native/Core.pm使用 subversion 1.8 进行构建,它现在使用 serf 库而不是 https 的 neon,显然 git-svn 与 serf 不能很好地配合。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

git svn clone 在 Mac OS X 上失败:“名称为‘svn_delta’的临时文件已在使用中” 的相关文章

随机推荐