You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2016/10/16 12:48:32 UTC

svn commit: r1765148 - /subversion/trunk/subversion/svn/resolve-cmd.c

Author: stsp
Date: Sun Oct 16 12:48:32 2016
New Revision: 1765148

URL: http://svn.apache.org/viewvc?rev=1765148&view=rev
Log:
Fix a problem where svn would stop resolving tree conflicts which were
created while resolving another tree conflict.

* subversion/svn/resolve-cmd.c
  (walk_conflicts): Do not perform path and depth filtering for new
   tree conflicts created while resolving another tree conflict.
   Such new tree conflicts can appear anywhere within the working copy.

Modified:
    subversion/trunk/subversion/svn/resolve-cmd.c

Modified: subversion/trunk/subversion/svn/resolve-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/resolve-cmd.c?rev=1765148&r1=1765147&r2=1765148&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/resolve-cmd.c (original)
+++ subversion/trunk/subversion/svn/resolve-cmd.c Sun Oct 16 12:48:32 2016
@@ -257,7 +257,6 @@ walk_conflicts(svn_client_ctx_t *ctx,
 
       for (; hi && !err; hi = apr_hash_next(hi))
         {
-          const char *relpath;
           svn_pool_clear(iterpool);
 
           tc_abspath = apr_hash_this_key(hi);
@@ -265,24 +264,8 @@ walk_conflicts(svn_client_ctx_t *ctx,
           if (ctx->cancel_func)
             SVN_ERR(ctx->cancel_func(ctx->cancel_baton));
 
-          relpath = svn_dirent_skip_ancestor(local_abspath,
-                                             tc_abspath);
-
-          if (!relpath
-              || (depth >= svn_depth_empty
-                  && depth < svn_depth_infinity
-                  && strchr(relpath, '/')))
-            {
-              continue;
-            }
-
           SVN_ERR(svn_wc_status3(&status, ctx->wc_ctx, tc_abspath,
                                  iterpool, iterpool));
-
-          if (depth == svn_depth_files
-              && status->kind == svn_node_dir)
-            continue;
-
           err = svn_error_trace(conflict_status_walker(&cswb, tc_abspath,
                                                        status, scratch_pool));
         }