# git-svn doesn't fetch anything

5 messages from 2009-02-04 to 2009-02-05. Participants: Harry Vangberg, Björn Steinbrink, Michael J Gruber.
Thread: https://gitlist.dev/t/17572

## Harry Vangberg, 2009-02-04 23:49

Subject: git-svn doesn't fetch anything
Message-ID: <941ff7dd0902041549y238f8460m3e1173cee6f44328@mail.gmail.com>
URL: https://gitlist.dev/e/941ff7dd0902041549y238f8460m3e1173cee6f44328%40mail.gmail.com

```
Hello

I have read access to a Subversion repo with standard layout at
https://svn.turntool.com/svn/turntool/plantool

Using git version 1.6.1.2 I would like to use git-svn, so I do a clone:

$ git svn clone https://svn.turntool.com/svn/turntool/plantool -s
--username=harry
Initialized empty Git repository in /Users/h/work/projsvn/plantool/.git/
Error validating server certificate for 'https://svn.turntool.com:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: svn.turntool.com
 - Valid: from Mon, 19 Nov 2007 11:16:34 GMT until Sat, 14 Aug 2010 11:16:34 GMT
 - Issuer: Subversion Repositories, TurnTool ApS, Aarhus C, Jylland, DK
 - Fingerprint: e5:fd:0e:0a:5a:b3:8b:2d:a0:77:16:ac:16:ca:94:a0:ad:1e:15:6c
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Authentication realm: <https://svn.turntool.com:443> TurnTool
Subversion Repository
Password for 'harry':
Authentication realm: <https://svn.turntool.com:443> TurnTool
Subversion Repository
Password for 'harry':
Authentication realm: <https://svn.turntool.com:443> TurnTool
Subversion Repository
Password for 'harry':
W: Ignoring error from SVN, path probably does not exist: (160013):
Filesystem has no item: '/svn/turntool/!svn/bc/100/plantool' path not
found
W: Do not be alarmed at the above message git-svn is just searching
aggressively for old history.
This may take a while on large repositories

I've been told that it is supposed to tell me a lot about fetched
revisions, but there's nothing. And the directory is completely empty
except for .git - here's my config:

$ cd plantool/
$ cat .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
[svn-remote "svn"]
        url = https://svn.turntool.com/svn/turntool/plantool
        fetch = trunk:refs/remotes/trunk
        branches = plantool/branches/*:refs/remotes/*
        tags = plantool/tags/*:refs/remotes/

I would really like this to work, so if anybody has some pointers, please.

```

## Björn Steinbrink, 2009-02-05 03:36

Subject: Re: git-svn doesn't fetch anything
Message-ID: <20090205033638.GD28280@atjola.homenet>
URL: https://gitlist.dev/e/20090205033638.GD28280%40atjola.homenet
In-Reply-To: <941ff7dd0902041549y238f8460m3e1173cee6f44328@mail.gmail.com>

```
On 2009.02.05 00:49:10 +0100, Harry Vangberg wrote:
> I've been told that it is supposed to tell me a lot about fetched
> revisions, but there's nothing. And the directory is completely empty
> except for .git - here's my config:
> 
> $ cd plantool/
> $ cat .git/config
> [core]
>         repositoryformatversion = 0
>         filemode = true
>         bare = false
>         logallrefupdates = true
>         ignorecase = true
> [svn-remote "svn"]
>         url = https://svn.turntool.com/svn/turntool/plantool
>         fetch = trunk:refs/remotes/trunk
>         branches = plantool/branches/*:refs/remotes/*
>         tags = plantool/tags/*:refs/remotes/

Hm, the branches and tags config looks weird to me. Is the path to them
really ".../turntool/plantool/plantool/branches"?

Björn

```

## Harry Vangberg, 2009-02-05 08:43

Subject: Fwd: git-svn doesn't fetch anything
Message-ID: <941ff7dd0902050043v39989d4fk54ee739c1bc5843f@mail.gmail.com>
URL: https://gitlist.dev/e/941ff7dd0902050043v39989d4fk54ee739c1bc5843f%40mail.gmail.com
In-Reply-To: <941ff7dd0902050033r5fa07533iac6dd3b4b5222af1@mail.gmail.com>

```
2009/2/5 Deskin Miller <deskinm@gmail.com>:
> This is what prints when the path you're interested in doesn't exist
> in early revisions, which is very common in large shared svn
> repositories.  Git has to ask svn at each revision, essentially,
> whether that path has been born.  'This may take a while on large
> repositories' is quite accurate; if you wait long enough, you'll get
> revisions.

I wait until it is finished - but it never gets to fetching revisions,
it just exists quietly and returns to commando prompt.

The branches/tags config is what is generated for me. The path for
branches and tags is:

https://svn.turntool.com/svn/turntool/plantool/branches/
https://svn.turntool.com/svn/turntool/plantool/tags/

I have tried changing the config for these, but can't find the right
one. Anyways, not even trunk is being fetched.

```

## Harry Vangberg, 2009-02-05 08:54

Subject: Re: git-svn doesn't fetch anything
Message-ID: <941ff7dd0902050054v51853a4bgad1dca9211bcd75a@mail.gmail.com>
URL: https://gitlist.dev/e/941ff7dd0902050054v51853a4bgad1dca9211bcd75a%40mail.gmail.com
In-Reply-To: <20090205033638.GD28280@atjola.homenet>

```
2009/2/5 Björn Steinbrink <B.Steinbrink@gmx.de>:
> Hm, the branches and tags config looks weird to me. Is the path to them
> really ".../turntool/plantool/plantool/branches"?

I tried doing this:

$ git svn init https://svn.turntool.com/svn/turntool/plantool -s
--username=harry
Initialized empty Git repository in /Users/h/work/projsvn/.git/
$

Then I changed .git/config to look like this:

$ cat .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
[svn-remote "svn"]
        url = https://svn.turntool.com/svn/turntool/plantool
        fetch = trunk:refs/remotes/trunk
        branches = branches/*:refs/remotes/*
        tags = tags/*:refs/remotes/tags/*
$

And finally tried to fetch it all

$ git svn fetch --all
$

It simply exists quietly, still without fetching *anything* and
leaving me in no branch, in an empty dir. :/

```

## Michael J Gruber, 2009-02-05 11:08

Subject: Re: git-svn doesn't fetch anything
Message-ID: <498AC8AA.5040902@drmicha.warpmail.net>
URL: https://gitlist.dev/e/498AC8AA.5040902%40drmicha.warpmail.net
In-Reply-To: <941ff7dd0902050054v51853a4bgad1dca9211bcd75a@mail.gmail.com>

```
Harry Vangberg venit, vidit, dixit 05.02.2009 09:54:
> 2009/2/5 Björn Steinbrink <B.Steinbrink@gmx.de>:
>> Hm, the branches and tags config looks weird to me. Is the path to them
>> really ".../turntool/plantool/plantool/branches"?
> 
> I tried doing this:
> 
> $ git svn init https://svn.turntool.com/svn/turntool/plantool -s
> --username=harry
> Initialized empty Git repository in /Users/h/work/projsvn/.git/
> $

Is there a read-only guest account or something which could help us
track this down? Otherwise the answer will probably be "it should work
like that, it must be a weird repo".

Cheers,
Michael

```
