changeset 42187:90d48c1c6224

commands: use byteskwargs() in verify() Otherwise Python 3 complains about the missing key. Differential Revision: https://phab.mercurial-scm.org/D6294
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 21 Apr 2019 09:34:16 -0700
parents fd384911f51b
children 289d82a070e9
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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