Search code examples
gitgit-svn

git svn fetch fatal: write error: Invalid argument


Odd situation is happening when I try to clone a remote svn repository.

When I type:
git svn fetch

Git will fetch the first 20 revision of the remote repository then at some point after 20 revisions it fails and just prompts the following error message.

fatal: write error: Invalid argument

Then just sits there doing nothing else. Repeating the same git init and then re fetching again, results in exactly the same place it reporting the fatal error.

Any idea what may be causign this to happen? I'm currently running the following versions:

TortoiseGit 1.2.1.0
git version 1.6.4.msysgit.0


Solution

  • The original version I was using when I ran into this error was:TortoiseGit-1.0.2.0-32bit.msi

    Since checking out the GIT source code and also msysGit Source code from their Git repository I could not find any location of this error message.

    I then updated to the following TortoiseGit version: TortoiseGit-1.2.1.0-32bit.msi

    Then I ran exactly the same git command on the remote repository and it worked. So linking back to previous experiences with GIT and windows I conclude the following procedures if anyone in future has problems.

    1) Check for updates, and update to the latest version before debugging
    2) Trying to debug in an older version is not going to help, the problem could of been fixed in an new version.

    Link to my previous experience on this matter: Link