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/06/13 12:11:17 UTC

svn commit: r1748189 - /subversion/trunk/subversion/libsvn_wc/conflicts.c

Author: stsp
Date: Mon Jun 13 12:11:17 2016
New Revision: 1748189

URL: http://svn.apache.org/viewvc?rev=1748189&view=rev
Log:
* subversion/libsvn_wc/conflicts.c
  (svn_wc__guess_incoming_move_target_node): Return something even if all
   common ancestors are the empty string (longest_ancestor_len is initially 0).

Modified:
    subversion/trunk/subversion/libsvn_wc/conflicts.c

Modified: subversion/trunk/subversion/libsvn_wc/conflicts.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/conflicts.c?rev=1748189&r1=1748188&r2=1748189&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/conflicts.c (original)
+++ subversion/trunk/subversion/libsvn_wc/conflicts.c Mon Jun 13 12:11:17 2016
@@ -3755,7 +3755,7 @@ svn_wc__guess_incoming_move_target_node(
                                                          victim_abspath,
                                                          iterpool);
       ancestor_len = strlen(ancestor_abspath);
-      if (ancestor_len > longest_ancestor_len)
+      if (ancestor_len >= longest_ancestor_len)
         {
           longest_ancestor_len = ancestor_len;