# git-svn error msg

3 messages from 2007-06-06 to 2007-06-07. Participants: Joakim Tjernlund, Eric Wong.
Thread: https://gitlist.dev/t/8470

## Joakim Tjernlund, 2007-06-06 14:09

Subject: git-svn error msg
Message-ID: <008601c7a844$56dc5030$0e67a8c0@Jocke>
URL: https://gitlist.dev/e/008601c7a844%2456dc5030%240e67a8c0%40Jocke

```
  git-svn init file:///usr/local/src/tst-git-svn/svn-uboot-repo/
and then
  git-svn fetch yields lots of:
Use of uninitialized value in substitution (s///) at /usr/bin/git-svn line 2144.
Use of uninitialized value in substitution (s///) at /usr/bin/git-svn line 2144.
....

seems to work though.

git version - 1.5.1.3

```

## Eric Wong, 2007-06-07 06:37

Subject: Re: git-svn error msg
Message-ID: <20070607063723.GB2809@muzzle>
URL: https://gitlist.dev/e/20070607063723.GB2809%40muzzle
In-Reply-To: <008601c7a844$56dc5030$0e67a8c0@Jocke>

```
Joakim Tjernlund <joakim.tjernlund@transmode.se> wrote:
>   git-svn init file:///usr/local/src/tst-git-svn/svn-uboot-repo/
> and then
>   git-svn fetch yields lots of:
> Use of uninitialized value in substitution (s///) at /usr/bin/git-svn line 2144.
> Use of uninitialized value in substitution (s///) at /usr/bin/git-svn line 2144.
> ....
> 
> seems to work though.
> 
> git version - 1.5.1.3

Probably/hopefully harmless.  Although I would like to know what's
causing it, though...  Are git-svn-id: lines generated correctly
in your commit messages?

-- 
Eric Wong

```

## Joakim Tjernlund, 2007-06-07 11:22

Subject: Re: git-svn error msg
Message-ID: <1181215359.30670.53.camel@gentoo-jocke.transmode.se>
URL: https://gitlist.dev/e/1181215359.30670.53.camel%40gentoo-jocke.transmode.se
In-Reply-To: <20070607063723.GB2809@muzzle>

```
On Wed, 2007-06-06 at 23:37 -0700, Eric Wong wrote:
> Joakim Tjernlund <joakim.tjernlund@transmode.se> wrote:
> >   git-svn init file:///usr/local/src/tst-git-svn/svn-uboot-repo/
> > and then
> >   git-svn fetch yields lots of:
> > Use of uninitialized value in substitution (s///) at /usr/bin/git-svn line 2144.
> > Use of uninitialized value in substitution (s///) at /usr/bin/git-svn line 2144.
> > ....
> > 
> > seems to work though.
> > 
> > git version - 1.5.1.3
> 
> Probably/hopefully harmless.  Although I would like to know what's
> causing it, though...  Are git-svn-id: lines generated correctly
> in your commit messages?
> 

Well, can't tell since I can't commit.
This is whats I did(from http://utsl.gen.nz/talks/git-svn/intro.html#howto-track )
git clone -l /usr/local/src/tm-uboot/u-boot my-uboot2.clone
git-config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*'
git-svn init file:///usr/local/src/tst-git-svn/svn-uboot-repo/trunk
git-svn fetch

The /usr/local/src/tm-uboot/u-boot is a repo that is using git-svn and I wan't
to clone it.

git svn fetch ended with:
Done rebuilding .git/svn/git-svn/.rev_db.17788414-8b20-0410-8e02-ac2c1e7fead6
        D       lib_i386/Makefile
        D       lib_i386/bios.S
        D       lib_i386/bios.h
.....
       D       drivers/videomodes.h
        D       drivers/w83c553f.c
        D       drivers/
W: -empty_dir: trunk/board
W: -empty_dir: trunk/common
W: -empty_dir: trunk/cpu
W: -empty_dir: trunk/disk
W: -empty_dir: trunk/doc
W: -empty_dir: trunk/drivers
W: -empty_dir: trunk/dtt
W: -empty_dir: trunk/examples
W: -empty_dir: trunk/fs
W: -empty_dir: trunk/include
W: -empty_dir: trunk/lib_arm
W: -empty_dir: trunk/lib_blackfin
W: -empty_dir: trunk/lib_generic
W: -empty_dir: trunk/lib_i386
W: -empty_dir: trunk/lib_m68k
W: -empty_dir: trunk/lib_microblaze
W: -empty_dir: trunk/lib_mips
W: -empty_dir: trunk/lib_nios
W: -empty_dir: trunk/lib_nios2
W: -empty_dir: trunk/lib_ppc
W: -empty_dir: trunk/nand_spl
W: -empty_dir: trunk/net
W: -empty_dir: trunk/post
W: -empty_dir: trunk/rtc
W: -empty_dir: trunk/tools
Last fetched revision of refs/remotes/git-svn was r76, but we are about to fetch: r1!

If I try to commit I get:
git svn dcommit
Unable to determine upstream SVN information from HEAD history

Note: the file:///usr/local/src/tst-git-svn/svn-uboot-repo/trunk is a local
copy of the real subversion repo.

```
