Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

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

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:50:59

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help