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 2014/10/14 12:08:33 UTC

svn commit: r1631706 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

Author: rhuijben
Date: Tue Oct 14 10:08:32 2014
New Revision: 1631706

URL: http://svn.apache.org/r1631706
Log:
Following up on r1631392, add flush entries call to avoid theoretical stale
data.

* subversion/libsvn_wc/wc_db.c
  (process_committed_leaf): Flush entries, as we might forget that now
    because we call directly into db functions.

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

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1631706&r1=1631705&r2=1631706&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Tue Oct 14 10:08:32 2014
@@ -15668,6 +15668,9 @@ process_committed_leaf(svn_wc__db_t *db,
                              _("No write-lock in '%s'"),
                              path_for_error_message(wcroot, local_relpath,
                                                     scratch_pool));
+
+    SVN_ERR(flush_entries(wcroot, lock_relpath, svn_depth_empty,
+                          scratch_pool));
   }
 
   if (status == svn_wc__db_status_deleted)