/[Apache-SVN]
ViewVC logotype

Revision 1523666


Jump to revision: Previous Next
Author: stsp
Date: Mon Sep 16 14:21:03 2013 UTC (10 years, 7 months ago)
Changed paths: 1
Log Message:
Resolve a regression in the reintegrate path calculations introduced by
optimizations made in r1311669.

* subversion/libsvn_client/merge.c
  (log_find_operative_revs): Don't corrupt mergeinfo paths by snipping off
   trailing characters. This function is trying to compute a common prefix
   of paths by snipping off a suffix detected with relpath_skip_ancestor().
   If relpath_skip_ancestor() returns "" it wants to tell its caller that
   the paths provided were equal. This function erroneously went on to
   perform path arithmetic anyway, with a zero-sized suffix string, and
   thus computed corrupt mergeinfo.

Reported by: Andrew Reedick
  http://svn.haxx.se/users/archive-2013-09/0116.shtml
  http://svn.haxx.se/users/archive-2013-09/0138.shtml
Review by: rhuijben


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_client/merge.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26