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

5 messages, 4 authors, 2016-06-15 · open the first message on its own page

[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

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

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:50:59

Ramkumar Ramachandra venit, vidit, dixit 05.04.2011 21:07:
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

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

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

Hi Michael,

Michael J Gruber writes:
Ramkumar Ramachandra venit, vidit, dixit 05.04.2011 21:07:
quoted
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

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

From: DaveAbrahams <hidden>
Date: 2016-06-15 22:51:58

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.

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

From: Eric Wong <hidden>
Date: 2016-06-15 22:51:59

DaveAbrahams [off-list ref] wrote:
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)

-- 
Eric Wong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help