git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git-svn breaks on gtk+ import
@ 2008-03-07 18:00 Tim Janik
  2008-03-07 19:41 ` Harvey Harrison
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tim Janik @ 2008-03-07 18:00 UTC (permalink / raw
  To: Eric Wong; +Cc: git

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

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

* Re: git-svn breaks on gtk+ import
  2008-03-07 18:00 git-svn breaks on gtk+ import Tim Janik
@ 2008-03-07 19:41 ` Harvey Harrison
  2008-03-07 20:09   ` Tim Janik
  2008-03-07 20:19 ` Tommi Komulainen
  2008-03-08  7:47 ` Eric Wong
  2 siblings, 1 reply; 6+ messages in thread
From: Harvey Harrison @ 2008-03-07 19:41 UTC (permalink / raw
  To: Tim Janik; +Cc: Eric Wong, git

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


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

* Re: git-svn breaks on gtk+ import
  2008-03-07 19:41 ` Harvey Harrison
@ 2008-03-07 20:09   ` Tim Janik
  0 siblings, 0 replies; 6+ messages in thread
From: Tim Janik @ 2008-03-07 20:09 UTC (permalink / raw
  To: Harvey Harrison; +Cc: Eric Wong, git

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

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

* Re: git-svn breaks on gtk+ import
  2008-03-07 18:00 git-svn breaks on gtk+ import Tim Janik
  2008-03-07 19:41 ` Harvey Harrison
@ 2008-03-07 20:19 ` Tommi Komulainen
  2008-03-08  7:47 ` Eric Wong
  2 siblings, 0 replies; 6+ messages in thread
From: Tommi Komulainen @ 2008-03-07 20:19 UTC (permalink / raw
  To: git

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


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

* Re: git-svn breaks on gtk+ import
  2008-03-07 18:00 git-svn breaks on gtk+ import Tim Janik
  2008-03-07 19:41 ` Harvey Harrison
  2008-03-07 20:19 ` Tommi Komulainen
@ 2008-03-08  7:47 ` Eric Wong
  2008-04-07  8:20   ` Eric Wong
  2 siblings, 1 reply; 6+ messages in thread
From: Eric Wong @ 2008-03-08  7:47 UTC (permalink / raw
  To: Tim Janik; +Cc: git

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

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

* Re: git-svn breaks on gtk+ import
  2008-03-08  7:47 ` Eric Wong
@ 2008-04-07  8:20   ` Eric Wong
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Wong @ 2008-04-07  8:20 UTC (permalink / raw
  To: Tim Janik; +Cc: git

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

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

end of thread, other threads:[~2008-04-07  8:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 18:00 git-svn breaks on gtk+ import Tim Janik
2008-03-07 19:41 ` Harvey Harrison
2008-03-07 20:09   ` Tim Janik
2008-03-07 20:19 ` Tommi Komulainen
2008-03-08  7:47 ` Eric Wong
2008-04-07  8:20   ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).