On Wed, Apr 13, 2011 at 06:17, <rhuij...@apache.org> wrote: >... > +++ subversion/trunk/subversion/libsvn_client/commit_util.c Wed Apr 13 > 10:17:21 2011 > @@ -661,29 +661,24 @@ harvest_committables(svn_wc_context_t *w > { > apr_hash_t *local_relpath_tokens; > apr_hash_index_t *hi; > + apr_pool_t *token_pool = apr_hash_pool_get(lock_tokens); > > SVN_ERR(svn_wc__node_get_lock_tokens_recursive( > &local_relpath_tokens, wc_ctx, local_abspath, > - scratch_pool, scratch_pool)); > + token_pool, scratch_pool)); > > - /* Map local_relpaths to URLs. */ > + /* Add tokens to existing hash. */ > for (hi = apr_hash_first(scratch_pool, local_relpath_tokens); > hi; > hi = apr_hash_next(hi))
This loop can be removed in favor of apr_hash_overlay(). >... Cheers, -g