Author: rhuijben
Date: Wed Aug 4 14:36:25 2010
New Revision: 982267
URL: http://svn.apache.org/viewvc?rev=982267&view=rev
Log:
* subversion/libsvn_wc/update_editor.c
(modcheck_found_node): Don't perform expensive checks if we already found
a non-delete somewhere else.
Modified:
subversion/trunk/subversion/libsvn_wc/update_editor.c
Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=982267&r1=982266&r2=982267&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Wed Aug 4 14:36:25
2010
@@ -1485,7 +1485,9 @@ modcheck_found_node(const char *local_ab
if (status != svn_wc__db_status_normal)
modified = TRUE;
- else
+ /* No need to check if we already have at least one non-delete
+ modification */
+ else if (!baton->found_mod || baton->all_edits_are_deletes)
SVN_ERR(entry_has_local_mods(&modified, baton->db, local_abspath,
kind, scratch_pool));