You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by eh...@apache.org on 2010/08/29 16:44:22 UTC
svn commit: r990587 - /subversion/trunk/subversion/libsvn_wc/adm_ops.c
Author: ehu
Date: Sun Aug 29 14:44:21 2010
New Revision: 990587
URL: http://svn.apache.org/viewvc?rev=990587&view=rev
Log:
Add a NODE_DATA note where OP_DEPTH should be recorded.
Modified:
subversion/trunk/subversion/libsvn_wc/adm_ops.c
Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=990587&r1=990586&r2=990587&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Sun Aug 29 14:44:21 2010
@@ -789,14 +789,20 @@ svn_wc_delete4(svn_wc_context_t *wc_ctx,
if (kind == svn_wc__db_kind_dir)
{
-
+ /* ### NODE_DATA We recurse into the subtree here, which is fine,
+ except that we also need to record the op_depth to pass to
+ svn_wc__db_temp_op_delete(), which is determined by the original
+ path for which svn_wc_delete4() was called. We need a helper
+ function which receives the op_depth as an argument to apply to
+ the entire subtree.
+ */
apr_pool_t *iterpool = svn_pool_create(pool);
const apr_array_header_t *children;
int i;
SVN_ERR(svn_wc__db_read_children(&children, db, local_abspath,
pool, pool));
-
+
for (i = 0; i < children->nelts; i++)
{
const char *child_basename = APR_ARRAY_IDX(children, i, const char *);