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

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

From: Kari Grano <kari.grano_at_gmail.com>
Date: Sat, 28 Jun 2008 13:58:13 +0300

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.

Thanks,
Kari.

---------------------------------------------------------------------
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-28 12:58:15 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.