git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git svn: Bad URL passed to RA layer: Unrecognized URL scheme
@ 2008-10-05 17:24 Jeff Kowalczyk
  2008-10-05 19:44 ` Mikael Magnusson
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Kowalczyk @ 2008-10-05 17:24 UTC (permalink / raw)
  To: git

I made an ill-advised upgrade to from subversion-1.4.6 to
subversion-1.5.2. While I had subversion-1.5.2 installed, git svn rebase
ended with a 'segmentation fault' error. 

Now back at subversion-1.4.6, git repositories with svn remotes updated
during the aforentioned upgrade now give an error:

(master) $ git svn fetch
Bad URL passed to RA layer: Unrecognized URL scheme for 'http://code.djangoproject.com/svn' at /usr/libexec/git-core/git-svn line 1400

(master) $ git svn rebase
Bad URL passed to RA layer: Unrecognized URL scheme for 'http://code.djangoproject.com/svn' at /usr/libexec/git-core/git-svn line 1909

Others which were not updated recently work fine for git svn operations.

How can I repair the affected git repositories?

Thanks.

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

* Re: git svn: Bad URL passed to RA layer: Unrecognized URL scheme
  2008-10-05 17:24 git svn: Bad URL passed to RA layer: Unrecognized URL scheme Jeff Kowalczyk
@ 2008-10-05 19:44 ` Mikael Magnusson
  2008-10-06  2:28   ` Jeff Kowalczyk
  0 siblings, 1 reply; 4+ messages in thread
From: Mikael Magnusson @ 2008-10-05 19:44 UTC (permalink / raw)
  To: Jeff Kowalczyk; +Cc: git

2008/10/5 Jeff Kowalczyk <jtk@yahoo.com>:
> I made an ill-advised upgrade to from subversion-1.4.6 to
> subversion-1.5.2. While I had subversion-1.5.2 installed, git svn rebase
> ended with a 'segmentation fault' error.
>
> Now back at subversion-1.4.6, git repositories with svn remotes updated
> during the aforentioned upgrade now give an error:
>
> (master) $ git svn fetch
> Bad URL passed to RA layer: Unrecognized URL scheme for 'http://code.djangoproject.com/svn' at /usr/libexec/git-core/git-svn line 1400
>
> (master) $ git svn rebase
> Bad URL passed to RA layer: Unrecognized URL scheme for 'http://code.djangoproject.com/svn' at /usr/libexec/git-core/git-svn line 1909
>
> Others which were not updated recently work fine for git svn operations.
>
> How can I repair the affected git repositories?
>
> Thanks.

That somehow looks more like an svn error than a git error, does
svn checkout http://code.djangoproject.com/svn
work?

-- 
Mikael Magnusson

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

* Re: git svn: Bad URL passed to RA layer: Unrecognized URL scheme
  2008-10-05 19:44 ` Mikael Magnusson
@ 2008-10-06  2:28   ` Jeff Kowalczyk
  2008-10-06  9:47     ` Thomas Rast
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Kowalczyk @ 2008-10-06  2:28 UTC (permalink / raw)
  To: git

Mikael Magnusson wrote:
> That somehow looks more like an svn error than a git error, does
> svn checkout http://code.djangoproject.com/svn work?

You were correct, I tried subversion and got the same error. I rebuilt
(gentoo ~x86) neon-0.28.3, subversion-1.5.2 and git-1.6.0.2, and have
functional git svn operations.

However, each operation ends with a segmentation fault. This is the case
with all git svn repositories (e.g. several different svn remote hosts).

  (master) $ git svn rebase
     M  django/core/management/commands/makemessages.py
     M  docs/topics/i18n.txt
  r9155 = 4c86e60f62366ac9c3fd9369c17c54801a8f2ea0 (trunk)
  First, rewinding head to replay your work on top of it...
  Fast-forwarded master to refs/remotes/trunk.
  Segmentation fault

Does the segfault risk corruption of the git repository data?

Would I report this as a git bug or distribution bug?

Thanks.

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

* Re: git svn: Bad URL passed to RA layer: Unrecognized URL scheme
  2008-10-06  2:28   ` Jeff Kowalczyk
@ 2008-10-06  9:47     ` Thomas Rast
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Rast @ 2008-10-06  9:47 UTC (permalink / raw)
  To: Jeff Kowalczyk; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

Jeff Kowalczyk wrote:
> However, each operation ends with a segmentation fault. This is the case
> with all git svn repositories (e.g. several different svn remote hosts).
> 
>   (master) $ git svn rebase
>      M  django/core/management/commands/makemessages.py
>      M  docs/topics/i18n.txt
>   r9155 = 4c86e60f62366ac9c3fd9369c17c54801a8f2ea0 (trunk)
>   First, rewinding head to replay your work on top of it...
>   Fast-forwarded master to refs/remotes/trunk.
>   Segmentation fault

Can you try to find out what exactly segfaults here? git-svn is
implemented in Perl, so that means it's either Perl itself (unlikely),
the SVN libraries hooked into Perl, or some git command run by
git-svn.

- Thomas

-- 
Thomas Rast
trast@{inf,student}.ethz.ch


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2008-10-06  9:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-05 17:24 git svn: Bad URL passed to RA layer: Unrecognized URL scheme Jeff Kowalczyk
2008-10-05 19:44 ` Mikael Magnusson
2008-10-06  2:28   ` Jeff Kowalczyk
2008-10-06  9:47     ` Thomas Rast

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).