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

[BUG] git-svn: --no-metadata related bug

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Apr 5, 2011, 19:07 UTC
Message-ID
<20110405190722.GB25644@kytes>
Hi,
This bug was reported by sh4rm4 on #git-devel a few minutes ago [1].

Steps to reproduce: $ git svn clone --no-metadata -T trunk http://dxirc.googlecode.com/svn/

Output: Found possible branch point: http://dxirc.googlecode.com/svn/trunk => http://dxirc.googlecode.com/svn/branches/0.20, 93 Use of uninitialized value $u in substitution (s///) at /usr/lib/git/git-svn line 1733. Use of uninitialized value $u in concatenation (.) or string at /usr/lib/git/git-svn line 1733. refs/remotes/trunk: 'http://dxirc.googlecode.com/svn' not found in ''

Comments: Works fine when '--no-metadata' is omitted. It seems to be a simple variable-initialization bug. I would have posted a patch, but I can't test it on my own system because git-svn doesn't work with the upstream Subversion-related libraries I have installed.

[1]: http://colabti.org/irclogger/irclogger_log/git-devel?date=2011-04-05#l76
-- Ram
Next: Michael J Gruber
Message 1 of 5 in “[BUG] git-svn: --no-metadata related bug”
  1. Ramkumar RamachandraApr 5, 2011
  2. Michael J GruberApr 6, 2011
  3. Ramkumar RamachandraApr 6, 2011
  4. DaveAbrahamsSep 3, 2011
  5. Eric WongSep 7, 2011

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.