threads / discuss / 12565

git-svn breaks on gtk+ import

Subject: git-svn breaks on gtk+ import

## tl;dr

6 messages between Mar 7, 2008 and Apr 7, 2008.

replies: 5people: 4as markdown or json

Tim Janik· Mar 7, 2008, 18:00 UTC · lore
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· Mar 7, 2008, 19:41 UTC · re: Tim Janik · lore

Re: git-svn breaks on gtk+ import

On Fri, 2008-03-07 at 19:00 +0100, Tim Janik wrote:
Show 9 quoted lines
> 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· Mar 7, 2008, 20:09 UTC · re: Harvey Harrison · lore

Re: git-svn breaks on gtk+ import

On Fri, 7 Mar 2008, Harvey Harrison wrote:
Show 13 quoted lines
> 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+.

Show 5 quoted lines
>
> Cheers,
>
> Harvey
>

--- ciaoTJ

Tommi Komulainen· Mar 7, 2008, 20:19 UTC · re: Tim Janik · lore

Re: git-svn breaks on gtk+ import

Tim Janik wrote:
Show 12 quoted lines
> 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· Mar 8, 2008, 07:47 UTC · re: Tim Janik · lore

Re: git-svn breaks on gtk+ import

Tim Janik <timj@imendio.com> wrote:
Show 24 quoted lines
> 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· Apr 7, 2008, 08:20 UTC · re: Eric Wong · lore

Re: git-svn breaks on gtk+ import

Eric Wong <normalperson@yhbt.net> wrote:
Show 33 quoted lines
> 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

← back to recent threads