You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2012/10/11 18:15:23 UTC

svn commit: r1397141 - /subversion/trunk/subversion/libsvn_client/update.c

Author: rhuijben
Date: Thu Oct 11 16:15:23 2012
New Revision: 1397141

URL: http://svn.apache.org/viewvc?rev=1397141&view=rev
Log:
* subversion/libsvn_client/update.c
  (update_internal): Avoid doing unneeded work.

Modified:
    subversion/trunk/subversion/libsvn_client/update.c

Modified: subversion/trunk/subversion/libsvn_client/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/update.c?rev=1397141&r1=1397140&r2=1397141&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/update.c (original)
+++ subversion/trunk/subversion/libsvn_client/update.c Thu Oct 11 16:15:23 2012
@@ -200,7 +200,6 @@ update_internal(svn_revnum_t *result_rev
   svn_boolean_t sleep_here = FALSE;
   svn_boolean_t *use_sleep = timestamp_sleep ? timestamp_sleep : &sleep_here;
   svn_boolean_t clean_checkout = FALSE;
-  svn_boolean_t is_not_present;
   const char *diff3_cmd;
   apr_hash_t *wcroot_iprops;
   svn_opt_revision_t opt_rev;
@@ -461,19 +460,6 @@ update_internal(svn_revnum_t *result_rev
                                            ctx, pool));
     }
 
-  /* Cache inherited props. */
-  err = svn_wc__node_is_status_not_present(&is_not_present, ctx->wc_ctx,
-                                           local_abspath, pool);
-  if (err)
-    {
-      if (err->apr_err != SVN_ERR_WC_PATH_NOT_FOUND)
-        return svn_error_trace(err);
-
-      svn_error_clear(err);
-      err = SVN_NO_ERROR;
-      is_not_present = TRUE;
-    }
-
   if (sleep_here)
     svn_io_sleep_for_timestamps(local_abspath, pool);