/[Apache-SVN]
ViewVC logotype

Revision 1918181


Jump to revision: Previous Next
Author: hartmannathan
Date: Wed Jun 5 20:32:03 2024 UTC (2 weeks, 3 days ago)
Changed paths: 1
Log Message:
Use svn_opt_parse_change_to_range function to parse the --change
argument in the svnbench program.

In r1918076, the svn_opt_parse_change_to_range function was
factored-out from the svn program into the libsvn_subr library.
Since the same functionality is needed for parsing the same argument
in the svnbench program, we can use this function there as well.

Additionally, this refactoring would fix some parsing bugs related to this
argument, which were resolved in the svn program [1], but still exist in the
svnbench program, because this code was duplicated.

* subversion/svnbench/svnbench.c
  (sub_main): Replace the code that parses the --change argument with
   svn_opt_parse_change_to_range function.

[1] The fixes in the --change argument parser were committed in
    r1917944 and r1917864.

Patch by: Timofey Zhakov (tima {at} chemodax _dot_ net)


Changed paths

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

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26