multi-wc-format: Make svntest.main.run_svn() and friends not add
compatible-version when a test has passed this option already.
The outgoing option name is the test suite programs' option name, as opposed to
svn(1)'s option name.
* subversion/tests/cmdline/svntest/main.py
(_with_wc_format_version): Fix option name.
@@ -801,7 +801,7 @@ def copy_trust(dst_cfgdir, src_cfgdir):
shutil.copy(os.path.join(src_ssl_dir, f), os.path.join(dst_ssl_dir, f))
def _with_wc_format_version(args):
- if '--wc-format-version' in args or options.wc_format_version is None:
+ if '--compatible-version' in args or options.wc_format_version is None:
return args
non_opt_args = [a for a in args if not str(a).startswith('-')]
if non_opt_args:
