You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2011/03/17 21:04:41 UTC

svn commit: r1082669 - /subversion/trunk/subversion/libsvn_wc/adm_ops.c

Author: philip
Date: Thu Mar 17 20:04:40 2011
New Revision: 1082669

URL: http://svn.apache.org/viewvc?rev=1082669&view=rev
Log:
* subversion/libsvn_wc/adm_ops.c (matches_reverted): Remove as obsolete.

Modified:
    subversion/trunk/subversion/libsvn_wc/adm_ops.c

Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=1082669&r1=1082668&r2=1082669&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Thu Mar 17 20:04:40 2011
@@ -1333,20 +1333,6 @@ verify_revert_depth(svn_wc__db_t *db,
 }
 
 #ifdef SVN_NEW_REVERT
-/* Should be using a hash?  A sorted array? */
-static svn_boolean_t
-matches_reverted(const apr_array_header_t *reverted,
-                 const char *local_abspath)
-{
-  int i;
-
-  for (i = 0; i < reverted->nelts; ++i)
-    if (!strcmp(local_abspath, APR_ARRAY_IDX(reverted, i, const char *)))
-      return TRUE;
-
-  return FALSE;
-}
-
 static svn_error_t *
 revert_restore(svn_wc__db_t *db,
                const char *revert_root,