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

Re: git-svn "Temp file with moniker 'svn_delta' already in use" and skelta mode

From
DRDavid Rothenberger <daveroth@acm.org>
Date
Jul 5, 2013, 23:14 UTC
Message-ID
<kr7jvu$62n$1@ger.gmane.org>
In-Reply-To
<kr7beq$ilk$1@ger.gmane.org>
On 7/5/2013 1:48 PM, David Rothenberger wrote:
Show 6 quoted lines
> I recently upgraded my Subversion server to 1.8.0 and started
> receiving the following error from "git svn fetch":
> 
> Temp file with moniker 'svn_delta' already in use at /usr/lib/perl5/vendor_perl/5.10/Git.pm line 1024.
> 
> This occurs only when using an http:// URL; svn:// URLs work fine.

I traced git-svn and discovered that the error is due to a known problem in the SVN APIs. ra_serf does not drive the delta editor in a depth-first manner as required by the API [1]. Instead, the calls come in this order:

 1. open_root
 2. open_directory
 3. add_file
 4. apply_textdelta
 5. add_file
 6. apply_textdelta

This is a known issue [2] and one that the Subversion folks have elected not to fix [3].

[1] http://subversion.apache.org/docs/api/latest/structsvn__delta__editor__t.html#details [2] http://subversion.tigris.org/issues/show_bug.cgi?id=2932 [3] http://subversion.tigris.org/issues/show_bug.cgi?id=3831

-- 
David Rothenberger  ----  daveroth@acm.org

management, n.:
        The art of getting other people to do all the work.
Previous: David RothenbergerNext: Kyle McKay
Message 6 of 7 in “git-svn "Temp file with moniker 'svn_delta' already in use" and skelta mode”
  1. David RothenbergerJul 5, 2013
  2. Kyle McKayJul 5, 2013
  3. David RothenbergerJul 5, 2013
  4. Kyle McKayJul 6, 2013
  5. David RothenbergerJul 6, 2013
  6. David RothenbergerJul 5, 2013
  7. Kyle McKayJul 6, 2013

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.