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.
after the command was executed, nothing was got from server.
If use the following commands, get the same result after the second command "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.
git svn clone checks out each SVN revision, one by one, and makes a git commit in your local repository in order to recreate the history. If the SVN repository has a lot of commits this will take a while, so you may want to grab a coffee.
# Clone a repo with standard SVN directory layout (like git clone): git svn clone http://svn.example.com/project --stdlayout --prefix svn/ # Or, if the repo uses a non-standard directory layout: git svn clone http://svn.example.com/project -T tr -b branch -t tag --prefix svn/ # View all branches and tags you have ...
Beware that the conversion process can take a significant amount of time for larger repositories, even when cloning from a local SVN repository. As a benchmark, converting a 400MB repository with 33,000 commits on main took around 12 hours to complete.
Looks like it is a bug in the 64 bit version of git for windows >= 2.7.0, reported upstream:
https://github.com/git-for-windows/git/issues/708
https://github.com/git-for-windows/git/issues/650
The best option currently available is to use the 32 bit version, or previous 64 bit versions.
I had the same problem. Solved by uninstalling git version 2.8.1 for windows 64 bit and installing the new git installer 2.8.2 for windows 32 bit.
I encountered the same problem on Git 2.10.0 and I solved it. Working on windows server environment on AWS,instance type is T2.small.
At first,I installed the 64-bit version GIT for win and exec
git svn fetch
But Git said
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.
So,I installed the 32-bit version of GIT for win after uninstalling the 64-bit version.
When installing the 32-bit version, need to select the option "Use MinTTY(the default terminal of MSYS2)" instead of "Use Windows' default console window".It's important to solve this problem.
If you select "Use Windows' default console window", "dash.exe" which is required to rebaseall doesn't install.
After the installation,just type followings.
cd C:\Program Files (x86)\Git\usr\bin
dash -c "./dash rebaseall -v -p"
and typed like this again ,I got success.
git svn fetch
P.S
I tried to change the server instance type to T2.large. There's no problem and I don't know why.
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With