You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/02/06 23:57:54 UTC

svn commit: r1443268 - /subversion/trunk/subversion/libsvn_client/merge.c

Author: rhuijben
Date: Wed Feb  6 22:57:54 2013
New Revision: 1443268

URL: http://svn.apache.org/viewvc?rev=1443268&view=rev
Log:
* subversion/libsvn_client/merge.c
  (CONFLICT_REASON_EXCLUDED): Remove unused value and renumber others.
  (merge_dir_baton_t): Update documentation.
  (mark_dir_edited,
   mark_file_edited): Remove check for magic value.

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=1443268&r1=1443267&r2=1443268&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/merge.c (original)
+++ subversion/trunk/subversion/libsvn_client/merge.c Wed Feb  6 22:57:54 2013
@@ -1345,9 +1345,8 @@ check_moved_here(svn_boolean_t *moved_he
 }
 
 #define CONFLICT_REASON_NONE       ((svn_wc_conflict_reason_t)-1)
-#define CONFLICT_REASON_EXCLUDED   ((svn_wc_conflict_reason_t)-2)
-#define CONFLICT_REASON_SKIP       ((svn_wc_conflict_reason_t)-3)
-#define CONFLICT_REASON_SKIP_WC    ((svn_wc_conflict_reason_t)-4)
+#define CONFLICT_REASON_SKIP       ((svn_wc_conflict_reason_t)-2)
+#define CONFLICT_REASON_SKIP_WC    ((svn_wc_conflict_reason_t)-3)
 
 /* Baton used for testing trees for being editted while performing tree
    conflict detection for incoming deletes */
@@ -1390,10 +1389,6 @@ struct merge_dir_baton_t
      conflict.
 
      Special values:
-       CONFLICT_REASON_EXCLUDED:
-            The node has been excluded (or depth filtered) and the node will
-            only be reported as skipped.
-
        CONFLICT_REASON_SKIP:
             The node will be skipped with content and property state as stored in
             SKIP_REASON.
@@ -1746,17 +1741,6 @@ mark_dir_edited(merge_cmd_baton_t *merge
           store_path(merge_b->skipped_abspaths, local_abspath);
         }
     }
-  else if (db->tree_conflict_reason == CONFLICT_REASON_EXCLUDED)
-    {
-      /* open_directory() decided not to flag a tree conflict, while
-         there really should be one.
-
-         Ok: The skip for the descendant will do the right thing anyway!
-       */
-
-      /* We don't register the node in merge_b->skipped_abspaths here, as the
-         node itself is not skipped: the operation on a descendant is */
-    }
   else if (db->tree_conflict_reason != CONFLICT_REASON_NONE)
     {
       /* open_directory() decided that a tree conflict should be raised */
@@ -1855,8 +1839,7 @@ mark_file_edited(merge_cmd_baton_t *merg
           store_path(merge_b->skipped_abspaths, local_abspath);
         }
     }
-  else if (fb->tree_conflict_reason != CONFLICT_REASON_NONE
-           && fb->tree_conflict_reason != CONFLICT_REASON_EXCLUDED)
+  else if (fb->tree_conflict_reason != CONFLICT_REASON_NONE)
     {
       /* open_directory() decided that a tree conflict should be raised */
       const char *moved_away_abspath = NULL;