[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: VS: Subversion 1.5 beta1, "malformed URL for repository" whenmerging over http

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 30 Jun 2008 22:20:22 +0100

On Sat, 2008-06-28 at 13:58 +0300, Kari Grano wrote:
> Julian Foad wrote:
> >> Has there been any resolution to the issue below? I'm seeing the same
> >> behaviour with 1.5.0-rc9 on our repository. That is, merge fails as
> follows:
> >>
> >> D:\wc>svn merge -c9952
> http://my.repo.server.name.com/svn/repo/branches/8.2 .
> >> svn: Malformed URL for repository
> >>
> >> The server name is made up but contains the correct number of components
> >> (dots and slashes). If I say
> >>
> >> D:\wc>svn merge -c9952
> http://@my.repo.server.name.com/svn/repo/branches/8.2 .
> >>
> >> then the command is executed correctly. Note that I don't even need to
> >> specify a user name, just '@'.
> >
> > I cannot reproduce your problem using your made-up URL. It seems likely
> > that the problem is triggered by something in your server's
> > configuration. For example, maybe your server is converting your URL
> > (without username) into a different URL that is somehow invalid.
> > The error means that, in some URL that was being accessed internally,
> > the scheme and/or host and/or path part was missing. The error message
> > could be improved by the following patch:
> [patch omitted]
> > Are you able to re-build the Subversion client with the above patch and
> > try your real command again and see if the improved error message
> > reveals a clue?
> Hi Julian,
> Thanks for the patch. I built the trunk version of Subversion at r31905 and
> retried the above command. Guess what? The problem does not occur anymore!
> But I can still consistently reproduce it with the rc9 version of the
> command-line client. So apparently something has changed in between that
> fixes the issue. In any case, it's a good idea to give as much feedback to
> the user as possible, so your patch is in order.
> BTW It may be of interest that I had to "#ifdef 0" the "gnome_keyring.c"
> file as it fails to compile under Windows (for obvious reasons, I guess). I
> was using the TSVN build system to build svn.exe, so this issue may already
> have been dealt with the actual SVN build scripts.
> I will be out of reach for the next 2 weeks, but will be happy to test more
> after that, if needed.

I'll assume your problem has gone away unless you find otherwise.

My patch was committed to the trunk which may help if this problem
recurs in future.

- Julian

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-30 23:20:47 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.