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/02/19 13:42:54 UTC

svn commit: r1731237 - /subversion/trunk/subversion/libsvn_client/resolved.c

Author: stsp
Date: Fri Feb 19 12:42:54 2016
New Revision: 1731237

URL: http://svn.apache.org/viewvc?rev=1731237&view=rev
Log:
Revert r1731226. The extra check added in that revision is not necessary
because the called function already performs the same check.

Modified:
    subversion/trunk/subversion/libsvn_client/resolved.c

Modified: subversion/trunk/subversion/libsvn_client/resolved.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/resolved.c?rev=1731237&r1=1731236&r2=1731237&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/resolved.c (original)
+++ subversion/trunk/subversion/libsvn_client/resolved.c Fri Feb 19 12:42:54 2016
@@ -818,18 +818,13 @@ resolve_tree_conflict(svn_client_conflic
        local_change == svn_wc_conflict_reason_replaced) &&
       option_id == svn_client_conflict_option_merged_text)
     {
-      if (incoming_change != svn_wc_conflict_action_delete)
-        err = svn_wc__conflict_tree_update_break_moved_away(ctx->wc_ctx,
-                                                            local_abspath,
-                                                            ctx->cancel_func,
-                                                            ctx->cancel_baton,
-                                                            ctx->notify_func2,
-                                                            ctx->notify_baton2,
-                                                            scratch_pool);
-      else
-        {
-          /* # The move is/moves are already broken */
-        }
+      err = svn_wc__conflict_tree_update_break_moved_away(ctx->wc_ctx,
+                                                          local_abspath,
+                                                          ctx->cancel_func,
+                                                          ctx->cancel_baton,
+                                                          ctx->notify_func2,
+                                                          ctx->notify_baton2,
+                                                          scratch_pool);
     }
   else if ((operation == svn_wc_operation_update ||
             operation == svn_wc_operation_switch) &&