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 2010/06/22 15:42:14 UTC

svn commit: r956891 - /subversion/trunk/subversion/libsvn_wc/workqueue.c

Author: rhuijben
Date: Tue Jun 22 13:42:14 2010
New Revision: 956891

URL: http://svn.apache.org/viewvc?rev=956891&view=rev
Log:
* subversion/libsvn_wc/workqueue.c
  (run_deletion_postcommit): Bump revision using
    svn_wc__db_temp_op_set_rev_and_repos_relpath() instead of by
    updating the entry.

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

Modified: subversion/trunk/subversion/libsvn_wc/workqueue.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/workqueue.c?rev=956891&r1=956890&r2=956891&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/workqueue.c (original)
+++ subversion/trunk/subversion/libsvn_wc/workqueue.c Tue Jun 22 13:42:14 2010
@@ -922,19 +922,19 @@ run_deletion_postcommit(svn_wc__db_t *db
       if (kind == svn_wc__db_kind_dir)
         {
           svn_boolean_t keep_local;
-          svn_wc_entry_t tmp_entry;
 
           /* Bump the revision number of this_dir anyway, so that it
              might be higher than its parent's revnum.  If it's
              higher, then the process that sees KILLME and destroys
              the directory can also place a 'deleted' dir entry in the
              parent. */
-          tmp_entry.revision = new_revision;
-          SVN_ERR(svn_wc__entry_modify(db, local_abspath,
-                                       svn_node_dir,
-                                       &tmp_entry,
-                                       SVN_WC__ENTRY_MODIFY_REVISION,
-                                       scratch_pool));
+          SVN_ERR(svn_wc__db_temp_op_set_rev_and_repos_relpath(db,
+                                                               local_abspath,
+                                                               new_revision,
+                                                               FALSE,
+                                                               NULL, NULL,
+                                                               NULL, FALSE,
+                                                               scratch_pool));
 
           SVN_ERR(svn_wc__db_temp_determine_keep_local(&keep_local, db,
                                                        local_abspath,