git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn doesn't fetch anything
@ 2009-02-04 23:49 Harry Vangberg
  2009-02-05  3:36 ` Björn Steinbrink
       [not found] ` <86d4c5e00902042223n11caac95k2b226e3c2ce8658@mail.gmail.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Harry Vangberg @ 2009-02-04 23:49 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn doesn't fetch anything
  2009-02-04 23:49 git-svn doesn't fetch anything Harry Vangberg
@ 2009-02-05  3:36 ` Björn Steinbrink
  2009-02-05  8:54   ` Harry Vangberg
       [not found] ` <86d4c5e00902042223n11caac95k2b226e3c2ce8658@mail.gmail.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Björn Steinbrink @ 2009-02-05  3:36 UTC (permalink / raw)
  To: Harry Vangberg; +Cc: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Fwd: git-svn doesn't fetch anything
       [not found]   ` <941ff7dd0902050033r5fa07533iac6dd3b4b5222af1@mail.gmail.com>
@ 2009-02-05  8:43     ` Harry Vangberg
  0 siblings, 0 replies; 5+ messages in thread
From: Harry Vangberg @ 2009-02-05  8:43 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn doesn't fetch anything
  2009-02-05  3:36 ` Björn Steinbrink
@ 2009-02-05  8:54   ` Harry Vangberg
  2009-02-05 11:08     ` Michael J Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Harry Vangberg @ 2009-02-05  8:54 UTC (permalink / raw)
  To: Björn Steinbrink, git

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. :/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn doesn't fetch anything
  2009-02-05  8:54   ` Harry Vangberg
@ 2009-02-05 11:08     ` Michael J Gruber
  0 siblings, 0 replies; 5+ messages in thread
From: Michael J Gruber @ 2009-02-05 11:08 UTC (permalink / raw)
  To: Harry Vangberg; +Cc: Björn Steinbrink, git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-05 11:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 23:49 git-svn doesn't fetch anything Harry Vangberg
2009-02-05  3:36 ` Björn Steinbrink
2009-02-05  8:54   ` Harry Vangberg
2009-02-05 11:08     ` Michael J Gruber
     [not found] ` <86d4c5e00902042223n11caac95k2b226e3c2ce8658@mail.gmail.com>
     [not found]   ` <941ff7dd0902050033r5fa07533iac6dd3b4b5222af1@mail.gmail.com>
2009-02-05  8:43     ` Fwd: " Harry Vangberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).