subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@apache.org>
Subject Re: SVN 1.9.5 & 1.1.10-dev: checkout.c line 87: assertion failed (svn_uri_is_canonical(url, scratch_pool))
Date Fri, 24 Mar 2017 14:08:06 GMT
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


Mime
View raw message