git-svn: --no-metadata related bug
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
Ramkumar Ramachandra venit, vidit, dixit 05.04.2011 21:07:
Quoted 1 line
git svn clone --no-metadata -T trunk http://dxirc.googlecode.com/svn/
Works fine for me, using:
git svn --version
git-svn version 1.7.5.rc0.365.g23929a (svn 1.6.16)
What are the affected versions?
Michael
Hi Michael,
Quoted 9 lines · Michael J Gruber
Ramkumar Ramachandra venit, vidit, dixit 05.04.2011 21:07:
Quoted 1 line
git svn clone --no-metadata -T trunk http://dxirc.googlecode.com/svn/
Works fine for me, using:
git svn --version
git-svn version 1.7.5.rc0.365.g23929a (svn 1.6.16)What are the affected versions?
I'm sorry, but I have no additional information about the bug. I simply reported it on someone else's behalf, hoping that someone on the list would be able to reproduce it and supply a fix (see IRC conversation and explanation for not being able to test it myself).
-- Ram
I am reproducing the problem here. Unfortunately I can't share the repository with you but I'm willing to try debugging it a bit.
--
View this message in context: http://git.661346.n2.nabble.com/BUG-git-svn-no-metadata-related-bug-tp6243475p6756044.html
Sent from the git mailing list archive at Nabble.com.
Quoted 2 lines · DaveAbrahams
I am reproducing the problem here. Unfortunately I can't share the repository with you but I'm willing to try debugging it a bit.
Which version of git/git-svn are you using? (run: "git svn --version") Can you reproduce it with newer versions? (I can't)
Signature · 1 line
Eric Wong