Replace a segfault with a proper error code for a simple $ svn mkdir svn://localhost -m ""
Replace a segfault with a proper error code for a simple
$ svn mkdir svn://localhost -m ""

In Subversion 1.6 and earlier we just chopped of 'localhost'
and got an inresolvable url, which would return some proper error.

Found by: Markus Schaber <m.schaber{_AT_}3s-software.com>
(while using SharpSvn)

* subversion/libsvn_client/add.c
  (mkdir_urls): Don't try to calculate a uri above a uri root.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1211483 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion