[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"

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 29 Jul 2008 10:36:13 +0100

On Tue, 2008-07-29 at 05:02 -0400, Rick Yorgason wrote:
> Alright, well, 1.5.1 is out. You guys don't have binaries up yet, but
> Tortoise does, and this problem has returned >_<
>
> Back to the drawing board...

Did you ever get a chance to try with the more-informative-error-message
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,
> + _("URL '%s' is malformed or its "
> + "scheme or host or path is
> missing"), url);
> }
> if (uri->port == 0)
> uri->port = ne_uri_defaultport(uri->scheme);

? Or just set a breakpoint at that place if that's easier for you.

Unfortunately this tweak isn't in 1.5.1.

- Julian

> > Rick Yorgason wrote on Tue, 8 Jul 2008 at 00:33 -0400:
> >> Tested 1.5.x_at_HEAD and everything seems to work fine, so it looks like our woes
> >> will be gone in a couple weeks >:)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-29 11:36:33 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.