git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bug? git svn fetch: "unable to create temporary sha1 filename /home/andres/git/public/crystal.git/objects/96: File exists"

From
AFAndres Freund <andres@anarazel.de>
Date
Sep 30, 2008, 00:09 UTC
Message-ID
<200809300210.00285.andres@anarazel.de>
Hi,

I regularly run git-svn fetch on some mirrors of svn repositories - which works quite well. But now I started to get this error:

Last successfull git svn fetch:
        M       src/z3c/form/browser/file-testing.txt
r91613 = 27c991067847b4a54a4d8bc71d440c74893475af (trunk)
From .
   c7c32b3..27c9910  trunk      -> trunk
First failing svn fetch:
        M       plugins/cscript/pycore/coremod.cpp
        M       plugins/cscript/cspython/pytocs.cpp
error: unable to create temporary sha1 filename 
/home/andres/git/public/crystal.git/objects/96: File exists

fatal: Unable to add /tmp/Git_zIIUG4 to database hash-object -w --stdin-paths: command returned error: 128

error closing pipe: Bad file descriptor at /usr/local/libexec/git-core/git-svn 
line 0
error closing pipe: Bad file descriptor at /usr/local/libexec/git-core/git-svn 
line 0
        M       src/z3c/form/tests/test_doc.py
r91624 = 6a9a5c03c44618ca1cc34cf428c94b25009c6fc4 (trunk)
        A       src/z3c/form/testing.txt
r91625 = a10508daf71d4e8aaad5531f5bcf8cb4ef0695e8 (trunk)
From .
   27c9910..a10508d  trunk      -> trunk
All further git svn fetch invocation result in something alike:
Index mismatch: c8858cc0b587ab638af9ed52e7c03c8966b7db63 != 
c32a46c51a046500a3765fe573b95e2eb2f44b2a
rereading 87e2a16d8c259eba290bde0512af4d6bc1f64d1f
        M       plugins/cscript/pycore/coremod.cpp
        M       plugins/cscript/cspython/pytocs.cpp
error: unable to create temporary sha1 filename 
/home/andres/git/public/crystal.git/objects/96: File exists

fatal: Unable to add /tmp/Git_YSlrAs to database hash-object -w --stdin-paths: command returned error: 128

error closing pipe: Bad file descriptor at /usr/local/libexec/git-core/git-svn line 0 error closing pipe: Bad file descriptor at /usr/local/libexec/git-core/git-svn line 0

svn fetch is always invocated as "git --bare svn fetch".

Git repository is located at: git://git.anarazel.de/crystal.git http://git.anarazel.de/git/crystal.git

Original svn repository is located at: https://crystal.svn.sourceforge.net/svnroot/crystal

Any idea?
Thanks,
Andres
Next: Andres Freund
Message 1 of 2 in “Bug? git svn fetch: "unable to create temporary sha1 filename /home/andres/git/public/crystal.git/objects/96: File exists"”
  1. Andres FreundSep 30, 2008
  2. Andres FreundSep 30, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.