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

git-svn fails when svn.noMetaData is set

From
Ddclist@gmail.com <dclist@gmail.com>
Date
Dec 7, 2010, 02:24 UTC
Message-ID
<87bp4ytj50.fsf@invalid.clx>

Run on git version 1.7.3. Analyzed the source code using commit 0b0cd0e0a2.

Steps to reproduce
------------------
1. Set svn.noMetaData to true globally.
2. Invoke git svn clone on an svn repository

What happens ------------ Fatal error: "Not a SCALAR reference at /usr/lib/git-core/git-svn line 1457"

What I expect to happen ----------------------- The clone to complete successfully

Analysis -------- The problem seems to be line 1457, where the variable 'v' is dereferenced and assigned a value --- $$v = $tmp ---- in combination with line 118, where the value of the variable 'v' for the option no-metadata is specified as a subroutine and, therefore, cannot be assigned a value in the manner defined on line 1457. I believe the same is true of other options that specify subroutines as their hash values.

Message 1 of 1 in “git-svn fails when svn.noMetaData is set”
  1. dclist@gmail.comDec 7, 2010

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.