git svn clone失败了

时间:2016-03-24 01:39:46

标签: git git-svn

git svn clone url

Initialized empty Git repository in D:/code/Androi
d/ProjName/.git/
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem h
as no item: '/svn/Projects/!svn/rvr/100/Android/ProjName' path not found
W: Do not be alarmed at the above message git-svn is just searching aggressively
 for old history.
This may take a while on large repositories
      4 [main] perl 8428 child_info_fork::abort: unable to map d:\Program Files\
Git\usr\bin\msys-svn_subr-1-0.dll, Win32 error 1114
open2: fork failed: Resource temporarily unavailable at /mingw64/share/perl5/sit
e_perl/Git.pm line 411.

执行命令后,没有从服务器获取任何内容。

如果使用以下命令,请在第二个命令“git svn fetch”后得到相同的结果

$ git svn init url
Initialized empty Git repository in D:/code/Android/try1/.git/

johnliao@john-toshiba MINGW64 /d/code/Android/try1 (master)
$ git svn fetch
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: '/svn/Projects/!svn/rvr/100/Android/ProjName' path not found
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories
      4 [main] perl 5472 child_info_fork::abort: unable to map D:\Program Files\Git\usr\bin\msys-svn_subr-1-0.dll, Win32 error 1114
open2: fork failed: Resource temporarily unavailable at /mingw64/share/perl5/site_perl/Git.pm line 411.

4 个答案:

答案 0 :(得分:28)

看起来它是64位版本的git for windows> = 2.7.0中的错误,上游报道:

https://github.com/git-for-windows/git/issues/708

https://github.com/git-for-windows/git/issues/650

目前可用的最佳选择是使用32位版本或以前的64位版本。

答案 1 :(得分:1)

我遇到了同样的问题。通过卸载用于Windows 64位的git版本2.8.1并为Windows 32位安装新的git安装程序2.8.2来解决此问题。

答案 2 :(得分:1)

我在Git 2.10.0上遇到了同样的问题,我解决了它。 在AWS上的Windows服务器环境中工作,实例类型为T2.small。

首先,我为win和exec安装了64位版本的GIT

git svn fetch
但是Git说

C:\Program Files\
Git\usr\bin\msys-svn_subr-1-0.dll, Win32 error 1114
open2: fork failed: Resource temporarily unavailable at /mingw64/share/perl5/sit
e_perl/Git.pm line 411.

因此,我在卸载64位版本后安装了32位版本的GIT for win。

安装32位版本时, 需要选择选项"使用MinTTY(MSYS2的默认终端)"而不是"使用Windows'默认控制台窗口"。解决此问题非常重要。

如果您选择"使用Windows'默认控制台窗口"," dash.exe"这是rebaseall无需安装所必需的。

安装完成后,只需输入以下内容即可。

cd C:\Program Files (x86)\Git\usr\bin
dash -c "./dash rebaseall -v -p"

并再次输入,我获得了成功。

git svn fetch

P.S

我尝试将服务器实例类型更改为T2.large。 没有问题,我也不知道为什么。

希望它有所帮助。

答案 3 :(得分:-1)

与版本2.10.0相同 - 64位版本失败,但32位版本有效。

相关问题