Hi all,
Revision 1297676 by hwright broke the command line tests' --list option (and
probably, some other interfaces): the options dict no longer contains verbose
option as --verbose handler was changed from 'store_true' to 'callback'. The
attached patch fixes it by reintroducing options.verbose.
[[[
* subversion/tests/cmdline/svntest/main.py
(_create_parser): Set options.verbose to False by default, override with
True from set_log_debug() callback.
]]]
Regards,
Alexey.
Index: subversion/tests/cmdline/svntest/main.py
===================================================================
--- subversion/tests/cmdline/svntest/main.py (revision 1297679)
+++ subversion/tests/cmdline/svntest/main.py (working copy)
@@ -1471,6 +1471,7 @@
"""Return a parser for our test suite."""
def set_log_debug(option, opt, value, parser):
logger.setLevel(logging.DEBUG)
+ options.verbose = True
# set up the parser
_default_http_library = 'serf'
@@ -1533,6 +1534,7 @@
# most of the defaults are None, but some are other values, set them here
parser.set_defaults(
+ verbose=False,
server_minor_version=SVN_VER_MINOR,
url=file_scheme_prefix + \
urllib.pathname2url(os.path.abspath(os.getcwd())),