threads / bug / 26996

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

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

## tl;dr

5 messages between Apr 5, 2011 and Sep 7, 2011.

replies: 4people: 4as markdown or json

Ramkumar Ramachandra· Apr 5, 2011, 19:07 UTC · lore
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
Michael J Gruber· Apr 6, 2011, 13:04 UTC · re: Ramkumar Ramachandra · lore

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

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
Ramkumar Ramachandra· Apr 6, 2011, 18:12 UTC · re: Michael J Gruber · lore

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

Hi Michael,
Michael J Gruber writes:
Show 9 quoted lines
> 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?

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
DaveAbrahams· Sep 3, 2011, 07:01 UTC · re: Ramkumar Ramachandra · lore

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

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.

Eric Wong· Sep 7, 2011, 03:39 UTC · re: DaveAbrahams · lore

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

DaveAbrahams <dave@boostpro.com> 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

← back to recent threads