# HG changeset patch # User Gregory Szorc # Date 2019-04-21 16:34:16 # Node ID 90d48c1c62242585849a53539588b0285b5bce9b # Parent fd384911f51bddd8c223e98e99848a8a52d452e2 commands: use byteskwargs() in verify() Otherwise Python 3 complains about the missing key. Differential Revision: https://phab.mercurial-scm.org/D6294 diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -6167,6 +6167,8 @@ def verify(ui, repo, **opts): Returns 0 on success, 1 if errors are encountered. """ + opts = pycompat.byteskwargs(opts) + level = None if opts['full']: level = verifymod.VERIFY_FULL