--- 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