commands: use byteskwargs() in verify()
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 21 Apr 2019 09:34:16 -0700
changeset 42187 90d48c1c6224
parent 42186 fd384911f51b
child 42188 289d82a070e9
commands: use byteskwargs() in verify() Otherwise Python 3 complains about the missing key. Differential Revision: https://phab.mercurial-scm.org/D6294
mercurial/commands.py
--- a/mercurial/commands.py	Sun Apr 21 09:29:55 2019 -0700
+++ b/mercurial/commands.py	Sun Apr 21 09:34:16 2019 -0700
@@ -6167,6 +6167,8 @@
 
     Returns 0 on success, 1 if errors are encountered.
     """
+    opts = pycompat.byteskwargs(opts)
+
     level = None
     if opts['full']:
         level = verifymod.VERIFY_FULL