[PATCH] http://svn.host.tld
From: Alexy Khrabrov <alexy.khrabrov_at_setup.org>
Date: 2002-08-01 06:06:10 CEST
* subversion/libsvn_subr/path.c
-- Problem description: When hosting SVN at the top level, such as http://svn.host.tld, you really want to give commands such as svn ls http://svn.host.tld -- which previously failed immediately in the client as a URL was supposed to have 3 slashes. Two is enough, this validation is dumb anyways. The patch follows. _Together_ with my previous patches, it finally allows to host an SVN repository at the top level and operate on it with the command line svn client. Cheers, Alexy Index: subversion/libsvn_subr/path.c =================================================================== --- subversion/libsvn_subr/path.c +++ subversion/libsvn_subr/path.c Wed Jul 31 23:57:40 2002 @@ -774,8 +774,7 @@ /* Expecting the next two chars to be '/', and somewhere thereafter another '/'. */ if ((path[j + 1] == '/') - && (path[j + 2] == '/') - && (strchr (path + j + 3, '/') != NULL)) + && (path[j + 2] == '/')) return TRUE; return FALSE; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Thu Aug 1 06:08:33 2002 |
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.