You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/11/24 17:43:13 UTC
svn commit: r1038681 - /subversion/trunk/subversion/libsvn_subr/dirent_uri.c
Author: julianfoad
Date: Wed Nov 24 16:43:12 2010
New Revision: 1038681
URL: http://svn.apache.org/viewvc?rev=1038681&view=rev
Log:
* subversion/libsvn_subr/dirent_uri.c
(svn_relpath_skip_ancestor): Remove a redundant code path, now that inputs
must be canonical. A follow-up to r1038677.
Modified:
subversion/trunk/subversion/libsvn_subr/dirent_uri.c
Modified: subversion/trunk/subversion/libsvn_subr/dirent_uri.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/dirent_uri.c?rev=1038681&r1=1038680&r2=1038681&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/dirent_uri.c (original)
+++ subversion/trunk/subversion/libsvn_subr/dirent_uri.c Wed Nov 24 16:43:12 2010
@@ -1587,9 +1587,6 @@ svn_relpath_skip_ancestor(const char *pa
if (child_relpath[len] == 0)
return ""; /* parent_relpath == child_relpath */
- if (len == 1 && child_relpath[0] == '/')
- return child_relpath + 1;
-
if (child_relpath[len] == '/')
return child_relpath + len + 1;