subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1776915 - /subversion/trunk/tools/client-side/svn-mergeinfo-normalizer/logic.c
Date Mon, 02 Jan 2017 10:41:13 GMT
Author: stefan2
Date: Mon Jan  2 10:41:13 2017
New Revision: 1776915

URL: http://svn.apache.org/viewvc?rev=1776915&view=rev
Log:
Fix reporting of "problematic" revision ranges in svn-mergeinfo-normalizer.

* tools/client-side/svn-mergeinfo-normalizer/logic.c
  (show_reverse_ranges,
   show_non_recursive_ranges): Skip display if there are *no* such ranges.

Modified:
    subversion/trunk/tools/client-side/svn-mergeinfo-normalizer/logic.c

Modified: subversion/trunk/tools/client-side/svn-mergeinfo-normalizer/logic.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/client-side/svn-mergeinfo-normalizer/logic.c?rev=1776915&r1=1776914&r2=1776915&view=diff
==============================================================================
--- subversion/trunk/tools/client-side/svn-mergeinfo-normalizer/logic.c (original)
+++ subversion/trunk/tools/client-side/svn-mergeinfo-normalizer/logic.c Mon Jan  2 10:41:13
2017
@@ -135,7 +135,7 @@ show_reverse_ranges(const char *subtree_
                     svn_min__opt_state_t *opt_state,
                     apr_pool_t *scratch_pool)
 {
-  if (reverse_ranges->nelts)
+  if (!reverse_ranges->nelts)
     return SVN_NO_ERROR;
 
   if (opt_state->verbose || opt_state->run_analysis)
@@ -158,7 +158,7 @@ show_non_recursive_ranges(const char *su
                           svn_min__opt_state_t *opt_state,
                           apr_pool_t *scratch_pool)
 {
-  if (non_recursive_ranges->nelts)
+  if (!non_recursive_ranges->nelts)
     return SVN_NO_ERROR;
 
   if (opt_state->verbose || opt_state->run_analysis)



Mime
View raw message