[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 16:30:26 +0100

On Tue, 2008-07-29 at 10:43 -0400, Rick Yorgason wrote:
> Alright, a couple of interesting things.
>
> First, the reason I missed this before is because it's a heisenbug! It
> only happens in release builds; in debug builds it works perfectly fine.
>
> Second, your patch reveals that something is seriously messed up. Check
> it out:
>
> > C:\Projects\Hegemony.rick>svn merge http://redacted.example.com/svn/Hegemony/trunk//
> > svn: URL 'http://redacted.example.com/svn/Hegmony/Resources Src/Entities/Pedia/pedia_MoraleArrow.png.xnt' is malformed or its scheme or host or path is missing

OK, there is one question here and one bug.

Q: Why is Subversion looking at the path ".../Resources Src/..."?
A: Maybe because it's in the mergeinfo.
Q: Is that path in your svn:mergeinfo property on the trunk?

Bug: That string is not a valid URL because it had a space in it.
Q: How did it fail to be properly escaped (as "%20")?
A: Maybe a bug in the mergeinfo generation.
Q: Can you show us the mergeinfo?

> >
> > C:\Projects\Hegemony.rick>cd src
> >
> > C:\Projects\Hegemony.rick\src>svn merge http://redacted.example.com/svn/Hegemony/trunk/src/
> > svn: Target path does not exist

Another poor error message. We can't tell what path doesn't exist. Not
necessarily the one you're thinking of.

> First, it chopped out the '/trunk/' part of the remote URL. Then it
> insisted that /trunk/src doesn't exist, even though 'svn info' doesn't
> agree, and then it tried to merge with my coworker's branch!

No, you're making invalid assumptions I think. All of this strange
behaviour probably follows from one bug.

> Any idea what's going on here? Should I dump and reload?

No, I don't think there's anything wrong with your repository data, at
least nothing that a dump and reload would cure.

- 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-07-29 17:31:05 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.