/[Apache-SVN]
ViewVC logotype

Revision 1872104


Jump to revision: Previous Next
Author: julianfoad
Date: Mon Dec 30 10:44:43 2019 UTC (4 years, 11 months ago)
Changed paths: 1
Log Message:
Raise an error on trying to convert invalid mergeinfo to a string.

Instead of converting invalid mergeinfo to a diagnostic string (r1872030),
immediately raise an error so as not to risk the diagnostic string finding
its way into versioned data.

A follow-up to r1872030.

For issue #4840, "Merge assertion failure in svn_sort__array_insert".

Suggested by: danielsh

* subversion/libsvn_subr/mergeinfo.c
  (range_to_string): Raise an error on invalid input.
  (range_to_string_debug): New.
  (svn_rangelist__canonicalize): Use range_to_string_debug() within an error
    message.
  (svn_rangelist_to_string): Update the calls to range_to_string().


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_subr/mergeinfo.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26