threads / discuss / 17572

git-svn doesn't fetch anything

Subject: git-svn doesn't fetch anything

## tl;dr

5 messages between Feb 4, 2009 and Feb 5, 2009.

replies: 4people: 3as markdown or json

Harry Vangberg· Feb 4, 2009, 23:49 UTC · lore
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· Feb 5, 2009, 03:36 UTC · re: Harry Vangberg · lore

Re: git-svn doesn't fetch anything

On 2009.02.05 00:49:10 +0100, Harry Vangberg wrote:
Show 17 quoted lines
> 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· Feb 5, 2009, 08:54 UTC · re: Björn Steinbrink · lore

Re: git-svn doesn't fetch anything

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· Feb 5, 2009, 11:08 UTC · re: Harry Vangberg · lore

Re: git-svn doesn't fetch anything

Harry Vangberg venit, vidit, dixit 05.02.2009 09:54:
Show 10 quoted lines
> 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

Harry Vangberg· Feb 5, 2009, 08:43 UTC · lore

Fwd: git-svn doesn't fetch anything

2009/2/5 Deskin Miller <deskinm@gmail.com>:
Show 6 quoted lines
> 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.

← back to recent threads