You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2009/11/24 18:00:49 UTC
svn commit: r883785 - /subversion/trunk/subversion/libsvn_client/copy.c
Author: hwright
Date: Tue Nov 24 17:00:49 2009
New Revision: 883785
URL: http://svn.apache.org/viewvc?rev=883785&view=rev
Log:
* subversion/libsvn_client/copy.c
(do_wc_to_wc_copied, repos_to_wc_copy): Recursively lock the working copy
when performing copies.
Modified:
subversion/trunk/subversion/libsvn_client/copy.c
Modified: subversion/trunk/subversion/libsvn_client/copy.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/copy.c?rev=883785&r1=883784&r2=883785&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/copy.c (original)
+++ subversion/trunk/subversion/libsvn_client/copy.c Tue Nov 24 17:00:49 2009
@@ -278,7 +278,8 @@
/* ### If we didn't potentially use DST_ACCESS as the SRC_ACCESS, we
### could use a read lock here. */
SVN_ERR(svn_wc__adm_open_in_context(&dst_access, ctx->wc_ctx, dst_parent,
- TRUE, 0, ctx->cancel_func, ctx->cancel_baton, pool));
+ TRUE, -1, ctx->cancel_func, ctx->cancel_baton,
+ pool));
for (i = 0; i < copy_pairs->nelts; i++)
{
@@ -1602,7 +1603,7 @@
/* Probe the wc at the longest common dst ancestor. */
SVN_ERR(svn_wc__adm_probe_in_context(&adm_access, ctx->wc_ctx, top_dst_path,
- TRUE, 0, ctx->cancel_func,
+ TRUE, -1, ctx->cancel_func,
ctx->cancel_baton, pool));
/* We've already checked for physical obstruction by a working file.