Passing an invalid URL to svn co causes an abort and core dump. This fails with all protocols http, svn, file. It occurs with all versions I tested (1.7.5, 1.7.11, 1.7.12, 1.8.1, and the now defunct 1.8.2) It occurs with multiple subcommand (ls, info, etc.) It happens on both unix and windows platforms. The "abort" is especially bad on Windows since it will pop open a dialog window due to the abort.
It is expected that the command line would return an appropriate user friendly error message instead of crashing when faced with invalid input. ./svn co file://./test svn: subversion/libsvn_subr/dirent_uri.c:1315: svn_uri_basename: Assertion `svn_uri_is_canonical(uri, ((void *)0))' failed. Abort (core dumped) ./svn --version svn, version 1.8.2 (r1516056) compiled Aug 22 2013, 10:01:17 on x86_64-unknown-linux-gnu Copyright (C) 2013 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.1 - handles 'http' scheme - handles 'https' scheme Kevin R.