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

Re: svn commit: rev 5912 - in trunk/subversion: clients/cmdline libsvn_subr libsvn_wc

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-05-13 21:41:56 CEST

kfogel@tigris.org wrote:

>Modified: trunk/subversion/libsvn_subr/path.c
>==============================================================================
>--- trunk/subversion/libsvn_subr/path.c (original)
>+++ trunk/subversion/libsvn_subr/path.c Tue May 13 11:22:30 2003
>@@ -68,6 +68,11 @@
> path = svn_path_canonicalize (path, pool);
> /* FIXME: Should also remove trailing /.'s, if the style says so. */
>
>+ /* Internally, Subversion represents the current directory with the
>+ empty string. But users like to see "." . */
>+ if (path[0] == '\0')
>+ return ".";
>+
> if ('/' != SVN_PATH_LOCAL_SEPARATOR)
> {
> char *p = apr_pstrdup (pool, path);
>
>

Nice. Can you do the converse change in svn_path_internal_style? Then we
might even be able to kill all the checks using SVN_PATH_IS_PLATFORM_EMPTY.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 13 21:43:19 2003

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.