我已经通过 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
文件中:
[global]
http-bulk-updates=on
我在 Linux 上遇到过这个问题,并在 this thread 上看到了上述解决方法.我认为我遇到这个是因为我强制Alien SVN使用 subversion 1.8 构建,它现在使用 serf 库而不是 neon 用于 https,显然 git-svn 不能很好地与 serf 配合使用。
关于macos - git svn 克隆在 Mac OS X : "Temp file with moniker ' svn_delta' already in use"上失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12700194/