You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/04/23 13:29:55 UTC

svn commit: r937255 - /subversion/trunk/subversion/libsvn_client/commit.c

Author: julianfoad
Date: Fri Apr 23 11:29:55 2010
New Revision: 937255

URL: http://svn.apache.org/viewvc?rev=937255&view=rev
Log:
* subversion/libsvn_client/commit.c
  (post_process_commit_item): Take as input the checksum of the item, rather
    than a hash of checksums in which to find the right one.
  (svn_client_commit4): Pass the right checksum, rather than all of them.

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

Modified: subversion/trunk/subversion/libsvn_client/commit.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/commit.c?rev=937255&r1=937254&r2=937255&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/commit.c (original)
+++ subversion/trunk/subversion/libsvn_client/commit.c Fri Apr 23 11:29:55 2010
@@ -940,7 +940,7 @@ post_process_commit_item(svn_wc_committe
                          svn_wc_context_t *wc_ctx,
                          svn_boolean_t keep_changelists,
                          svn_boolean_t keep_locks,
-                         apr_hash_t *checksums,
+                         const svn_checksum_t *md5_checksum,
                          apr_pool_t *scratch_pool)
 {
   svn_boolean_t loop_recurse = FALSE;
@@ -974,10 +974,7 @@ post_process_commit_item(svn_wc_committe
   return svn_wc_queue_committed3(queue, item->path,
                                  loop_recurse, item->incoming_prop_changes,
                                  remove_lock, !keep_changelists,
-                                 apr_hash_get(checksums,
-                                              item->path,
-                                              APR_HASH_KEY_STRING),
-                                 scratch_pool);
+                                 md5_checksum, scratch_pool);
 }
 
 
@@ -1249,7 +1246,10 @@ svn_client_commit4(svn_commit_info_t **c
           svn_pool_clear(iterpool);
           bump_err = post_process_commit_item(queue, item, ctx->wc_ctx,
                                               keep_changelists, keep_locks,
-                                              checksums, iterpool);
+                                              apr_hash_get(checksums,
+                                                           item->path,
+                                                           APR_HASH_KEY_STRING),
+                                              iterpool);
           if (bump_err)
             goto cleanup;
         }