# git-svn breaks on gtk+ import

6 messages from 2008-03-07 to 2008-04-07. Participants: Tim Janik, Harvey Harrison, Tommi Komulainen, Eric Wong.
Thread: https://gitlist.dev/t/12565

## Tim Janik, 2008-03-07 18:00

Subject: git-svn breaks on gtk+ import
Message-ID: <alpine.DEB.1.00.0803071844510.27175@master.birnet.private>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0803071844510.27175%40master.birnet.private

```
hi Eric.

with git-svn from git 1.5.4.3, imports of the Gtk+ repository fail:

   git-svn clone -T trunk -b branches -t tags -r 19001 http://svn.gnome.org/svn/gtk+
   Using existing [svn-remote "svn"]
   Using higher level of URL: http://svn.gnome.org/svn/gtk+ => http://svn.gnome.org/svn/gtk%2B/http:
   No such file or directory: PROPFIND request failed on '/svn/gtk%252B/http%3A': Could not open the requested SVN filesystem at /usr/bin/git-svn line 1352

trying the same for glib works fine:

   git-svn clone -T trunk -b branches -t tags -r 6601 http://svn.gnome.org/svn/glib
   [...]
   r6601 = 987f6388b211281d08fce0e63936d9e612ed4d4f (trunk)
   Checked out HEAD:
     http://svn.gnome.org/svn/glib/trunk r6601

looks like the '+' in the the http://svn.gnome.org/svn/gtk+ repository
name isn't handled correctly.

---
ciaoTJ

```

## Harvey Harrison, 2008-03-07 19:41

Subject: Re: git-svn breaks on gtk+ import
Message-ID: <1204918885.23455.8.camel@brick>
URL: https://gitlist.dev/e/1204918885.23455.8.camel%40brick
In-Reply-To: <alpine.DEB.1.00.0803071844510.27175@master.birnet.private>

```
On Fri, 2008-03-07 at 19:00 +0100, Tim Janik wrote:
> hi Eric.
> 
> with git-svn from git 1.5.4.3, imports of the Gtk+ repository fail:
> 
>    git-svn clone -T trunk -b branches -t tags -r 19001 http://svn.gnome.org/svn/gtk+
>    Using existing [svn-remote "svn"]
>    Using higher level of URL: http://svn.gnome.org/svn/gtk+ => http://svn.gnome.org/svn/gtk%2B/http:
>    No such file or directory: PROPFIND request failed on '/svn/gtk%252B/http%3A': Could not open the requested SVN filesystem at /usr/bin/git-svn line 1352
> 

Strange, mine worked fine, other than:
 svn://svn.gnome.org/svn/gtk+

Cheers,

Harvey


```

## Tim Janik, 2008-03-07 20:09

Subject: Re: git-svn breaks on gtk+ import
Message-ID: <alpine.DEB.1.00.0803072108500.29360@master.birnet.private>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0803072108500.29360%40master.birnet.private
In-Reply-To: <1204918885.23455.8.camel@brick>

```
On Fri, 7 Mar 2008, Harvey Harrison wrote:

> On Fri, 2008-03-07 at 19:00 +0100, Tim Janik wrote:
>> hi Eric.
>>
>> with git-svn from git 1.5.4.3, imports of the Gtk+ repository fail:
>>
>>    git-svn clone -T trunk -b branches -t tags -r 19001 http://svn.gnome.org/svn/gtk+
>>    Using existing [svn-remote "svn"]
>>    Using higher level of URL: http://svn.gnome.org/svn/gtk+ => http://svn.gnome.org/svn/gtk%2B/http:
>>    No such file or directory: PROPFIND request failed on '/svn/gtk%252B/http%3A': Could not open the requested SVN filesystem at /usr/bin/git-svn line 1352
>>
>
> Strange, mine worked fine, other than:
> svn://svn.gnome.org/svn/gtk+

the problem only comes up wit http://svn.gnome.org/svn/gtk+,
not with svn://svn.gnome.org/svn/gtk+.

>
> Cheers,
>
> Harvey
>

---
ciaoTJ

```

## Tommi Komulainen, 2008-03-07 20:19

Subject: Re: git-svn breaks on gtk+ import
Message-ID: <fqs80v$98n$1@ger.gmane.org>
URL: https://gitlist.dev/e/fqs80v%2498n%241%40ger.gmane.org
In-Reply-To: <alpine.DEB.1.00.0803071844510.27175@master.birnet.private>

```
Tim Janik wrote:
> hi Eric.
> 
> with git-svn from git 1.5.4.3, imports of the Gtk+ repository fail:
> 
>   git-svn clone -T trunk -b branches -t tags -r 19001 
> http://svn.gnome.org/svn/gtk+
>   Using existing [svn-remote "svn"]
>   Using higher level of URL: http://svn.gnome.org/svn/gtk+ => 
> http://svn.gnome.org/svn/gtk%2B/http:
>   No such file or directory: PROPFIND request failed on 
> '/svn/gtk%252B/http%3A': Could not open the requested SVN filesystem at 
> /usr/bin/git-svn line 1352

> looks like the '+' in the the http://svn.gnome.org/svn/gtk+ repository
> name isn't handled correctly.

I had somewhat similar problem with git-svn fetch to a repository 
created with 1.5.3.something failing issuing REPORT. I've tracked down 
the problem to commit f5530b8833bcaa423cd53d133d3de3fa0173fbf3 to git, 
reverting it seems to fix git-svn fetch for me. YMMV.

I tried to follow where/how URL escaping happens / isn't happening 
(there are issues like 'if (<unescaped url> eq <escaped url>)' around - 
mostly because repos_root is escaped) but couldn't get things working. :-/


-- 
Tommi Komulainen                                 tommi.komulainen@iki.fi


```

## Eric Wong, 2008-03-08 07:47

Subject: Re: git-svn breaks on gtk+ import
Message-ID: <20080308074737.GC1583@hand.yhbt.net>
URL: https://gitlist.dev/e/20080308074737.GC1583%40hand.yhbt.net
In-Reply-To: <alpine.DEB.1.00.0803071844510.27175@master.birnet.private>

```
Tim Janik <timj@imendio.com> wrote:
> hi Eric.
> 
> with git-svn from git 1.5.4.3, imports of the Gtk+ repository fail:
> 
>   git-svn clone -T trunk -b branches -t tags -r 19001 
>   http://svn.gnome.org/svn/gtk+
>   Using existing [svn-remote "svn"]
>   Using higher level of URL: http://svn.gnome.org/svn/gtk+ => 
>   http://svn.gnome.org/svn/gtk%2B/http:
>   No such file or directory: PROPFIND request failed on 
>   '/svn/gtk%252B/http%3A': Could not open the requested SVN filesystem at 
>   /usr/bin/git-svn line 1352
> 
> trying the same for glib works fine:
> 
>   git-svn clone -T trunk -b branches -t tags -r 6601 
>   http://svn.gnome.org/svn/glib
>   [...]
>   r6601 = 987f6388b211281d08fce0e63936d9e612ed4d4f (trunk)
>   Checked out HEAD:
>     http://svn.gnome.org/svn/glib/trunk r6601
> 
> looks like the '+' in the the http://svn.gnome.org/svn/gtk+ repository
> name isn't handled correctly.

It's a known bug which I haven't had time to track down and fix.

git-svn handles files and directories with '+' within the base URL
you're tracking correctly, but somewhere along the way the base URL
you're tracking doesn't work correctly for HTTP.

As Harvey suggested, use the svn:// repository for now.

-- 
Eric Wong

```

## Eric Wong, 2008-04-07 08:20

Subject: Re: git-svn breaks on gtk+ import
Message-ID: <20080407082007.GB28853@soma>
URL: https://gitlist.dev/e/20080407082007.GB28853%40soma
In-Reply-To: <20080308074737.GC1583@hand.yhbt.net>

```
Eric Wong <normalperson@yhbt.net> wrote:
> Tim Janik <timj@imendio.com> wrote:
> > hi Eric.
> > 
> > with git-svn from git 1.5.4.3, imports of the Gtk+ repository fail:
> > 
> >   git-svn clone -T trunk -b branches -t tags -r 19001 
> >   http://svn.gnome.org/svn/gtk+
> >   Using existing [svn-remote "svn"]
> >   Using higher level of URL: http://svn.gnome.org/svn/gtk+ => 
> >   http://svn.gnome.org/svn/gtk%2B/http:
> >   No such file or directory: PROPFIND request failed on 
> >   '/svn/gtk%252B/http%3A': Could not open the requested SVN filesystem at 
> >   /usr/bin/git-svn line 1352
> > 
> > trying the same for glib works fine:
> > 
> >   git-svn clone -T trunk -b branches -t tags -r 6601 
> >   http://svn.gnome.org/svn/glib
> >   [...]
> >   r6601 = 987f6388b211281d08fce0e63936d9e612ed4d4f (trunk)
> >   Checked out HEAD:
> >     http://svn.gnome.org/svn/glib/trunk r6601
> > 
> > looks like the '+' in the the http://svn.gnome.org/svn/gtk+ repository
> > name isn't handled correctly.
> 
> It's a known bug which I haven't had time to track down and fix.
> 
> git-svn handles files and directories with '+' within the base URL
> you're tracking correctly, but somewhere along the way the base URL
> you're tracking doesn't work correctly for HTTP.
> 
> As Harvey suggested, use the svn:// repository for now.

Hi Tim, the HTTP repository should be fixed with the patch in

  http://article.gmane.org/gmane.comp.version-control.git/78961

-- 
Eric Wong

```
