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

a little bug when checkout invalid url

From: Shmuel Hanoch <shmuel_at_infinitylabs.co.il>
Date: Wed, 27 Sep 2017 18:22:09 +0300


When I (accidently) tried to checkout some repository from a wrong url
(with ":" instead of a "@"), the subversion process crushed on assertion.
It's easy to reproduce on my machine, for example:

svn co svn+ssh://a:l
svn_uri_basename: Assertion `svn_uri_is_canonical(uri, NULL)' failed.
zsh: abort (core dumped) svn co svn+ssh://a:l

Although this is an "illegal" url, there probably should be some error
handling instead of an assertion...


Shmuel Hanoch
Received on 2017-09-27 17:24:56 CEST

This is an archived mail posted to the Subversion Users mailing list.