Git svn fetch fatal: write error: Invalid argument

An odd situation occurs when I try to clone a remote svn repository.

When I print:
git svn fetch

git will select the first 20 revisions of the remote repository, and then at some point after 20 revisions, it will fail and simply offer the following error message.

fatal: write error: invalid argument

Then he just sits doing nothing. By repeating the same git init and then retrieving the selection again, the result is exactly the same as reporting a fatal error.

Any idea what could be causing this? I am currently running the following versions:

TortoiseGit 1.2.1.0
git version 1.6.4.msysgit.0

+3
source share
6 answers

The original version I used when I encountered this error: TortoiseGit-1.0.2.0-32bit.msi

After checking the GIT source code as well as the msysGit source code from my GIT repository, I could not find the location of this error message.

Then I upgraded to the next version of TortoiseGit: TortoiseGit-1.2.1.0-32bit.msi

Then I ran the exact same GIT command on the remote repository, and it worked. Therefore, referring to previous experiments with GIT and windows, I complete the following procedures if anyone has problems in the future.

1) Check for updates and upgrade to the latest version before debugging 2) Attempting to debug in the old version will not help, the problem can be fixed in the new version.

:

+1

Msysgit v1.7.2.3, 29 10, (Google , ).

"git svn rebase" ( ) "fatal: write error: Invalid argument" . .

, Msysgit, (ish) ( Win XP SP3 4 HD). DotNetNuke SVN CodePlex (https://dotnetnuke.svn.codeplex.com/svn).

"CHM" 330 (~ 212th commit, r52261). , Avast AV, Google Desktop .. . ( Outlook, Dreamweaver ..) DLL ~ 15.3 (~ 416- , ).

, , Avast, Carbonite Google Desktop , .

, -, , , , . , "git fsck", "git svn reset xx" "packSizeLimit" / "usedeltabaseoffset".

- , , , .

+3

, . , ~ 400 (, , - ). . TSVNCache.exe TGitCache.exe. . - - - ( ~ 3000), , .

, , git.

. , .

+2

( !), SVN ( , ,...), . git -svn SVN-.

: a SVN repo,

. mmap Windows.

+1

TGitCache . , TortoiseGit , TortoiseSVN... .

+1

, .git:

$ ls .git
1N4s5Mx6eD
3gRNi8l7yb
config
...

after I deleted those ( 1N4s5Mx6eD, 3gRNi8l7yb, ...), I could continue with git svn fetch.

I think this problem is network related because it git svnfailed after a large file for which network transmission errors are more likely.

0
source

Source: https://habr.com/ru/post/1725591/


All Articles