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

Re: Subversion 1.5 beta1, "malformed URL for repository" when merging over http

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 24 Jun 2008 14:08:48 -0700

I wrote:
> 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:

> > Index: subversion/libsvn_ra_neon/session.c
> > ===================================================================
> > --- subversion/libsvn_ra_neon/session.c (revision 31858)
> > +++ subversion/libsvn_ra_neon/session.c (working copy)
> > @@ -947,8 +947,9 @@
> > || uri->host == NULL || uri->path == NULL || uri->scheme == NULL)
> > {
> > ne_uri_free(uri);
> > - return svn_error_create(SVN_ERR_RA_ILLEGAL_URL, NULL,
> > - _("Malformed URL for repository"));
> > + return svn_error_createf(SVN_ERR_RA_ILLEGAL_URL, NULL,
> > + _("Malformed URL '%s': "
> > + "scheme or host or path is missing"), url);
> > }
> > if (uri->port == 0)
> > uri->port = ne_uri_defaultport(uri->scheme);

Committed revision 31867.

- 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-24 22:31:36 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.