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

5 messages from 2011-04-05 to 2011-09-07. Participants: Ramkumar Ramachandra, Michael J Gruber, DaveAbrahams, Eric Wong.
Thread: https://gitlist.dev/t/26996

## Ramkumar Ramachandra, 2011-04-05 19:07

Subject: [BUG] git-svn: --no-metadata related bug
Message-ID: <20110405190722.GB25644@kytes>
URL: https://gitlist.dev/e/20110405190722.GB25644%40kytes

```
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, 2011-04-06 13:04

Subject: Re: [BUG] git-svn: --no-metadata related bug
Message-ID: <4D9C64EB.5060703@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4D9C64EB.5060703%40drmicha.warpmail.net
In-Reply-To: <20110405190722.GB25644@kytes>

```
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, 2011-04-06 18:12

Subject: Re: [BUG] git-svn: --no-metadata related bug
Message-ID: <20110406181234.GB667@kytes>
URL: https://gitlist.dev/e/20110406181234.GB667%40kytes
In-Reply-To: <4D9C64EB.5060703@drmicha.warpmail.net>

```
Hi Michael,

Michael J Gruber writes:
> 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, 2011-09-03 07:01

Subject: Re: [BUG] git-svn: --no-metadata related bug
Message-ID: <1315033269582-6756044.post@n2.nabble.com>
URL: https://gitlist.dev/e/1315033269582-6756044.post%40n2.nabble.com
In-Reply-To: <20110406181234.GB667@kytes>

```
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, 2011-09-07 03:39

Subject: Re: [BUG] git-svn: --no-metadata related bug
Message-ID: <20110907033915.GA415@dcvr.yhbt.net>
URL: https://gitlist.dev/e/20110907033915.GA415%40dcvr.yhbt.net
In-Reply-To: <1315033269582-6756044.post@n2.nabble.com>

```
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

```
