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/11/04 13:37:14 UTC
svn commit: r1030906 - /subversion/trunk/subversion/libsvn_client/merge.c
Author: julianfoad
Date: Thu Nov 4 12:37:14 2010
New Revision: 1030906
URL: http://svn.apache.org/viewvc?rev=1030906&view=rev
Log:
* subversion/libsvn_client/merge.c
(merge_file_added): Pass a cancellation function and baton to
svn_wc_add_repos_file4(), resolving a '###' comment.
Modified:
subversion/trunk/subversion/libsvn_client/merge.c
Modified: subversion/trunk/subversion/libsvn_client/merge.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/merge.c?rev=1030906&r1=1030905&r2=1030906&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/merge.c (original)
+++ subversion/trunk/subversion/libsvn_client/merge.c Thu Nov 4 12:37:14 2010
@@ -1723,13 +1723,14 @@ merge_file_added(const char *local_dir_a
copying 'yours' to 'mine', isn't enough; we need to get
the whole text-base and props installed too, just as if
we had called 'svn cp wc wc'. */
- /* ### would be nice to have a cancellation func to pass */
SVN_ERR(svn_wc_add_repos_file4(
merge_b->ctx->wc_ctx, mine_abspath,
new_base_contents, new_contents,
new_base_props, new_props,
copyfrom_url, copyfrom_rev,
- NULL, NULL, subpool));
+ merge_b->ctx->cancel_func,
+ merge_b->ctx->cancel_baton,
+ subpool));
/* ### delete 'yours' ? */
}