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

Re: SVN 1.9.5 & 1.1.10-dev: checkout.c line 87: assertion failed (svn_uri_is_canonical(url, scratch_pool))

From: Branko Čibej <brane_at_apache.org>
Date: Fri, 24 Mar 2017 15:08:06 +0100

On 24.03.2017 14:36, Pavel Lyalyakin wrote:
> Hello,
>
> I'm not sure whether this problem is known, but I can reproduce it with SVN
> 1.9.5 and 1.10.0-dev-r1771118 clients.
>
> SVN fails with assertion failed error when I run a `svn checkout` command
> providing file://C:\repos argument on Windows. Note that there are only two
> slashes after file: schema.
> [[[
> svn: E235000: In file '..\..\..\subversion\libsvn_client\checkout.c' line
> 87: assertion failed (svn_uri_is_canonical(url, scratch_pool))
> ]]]
>
> Here is a command that should fail:
> [[[
> svn co file://C:\repo
> ]]]
>
> I guess that I should get an error in this case:
> [[[
> svn: E170000: Illegal repository URL
> ]]]

Quite right. This probably should be fixed in the client; libsvn_client
is behaving correctly, rejecting an invalid URL. But the command-line
client can and should check.

-- Brane
Received on 2017-03-24 15:08:12 CET

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.