changeset 50853:6bcfd44bc1cd

verify: migrate `opts` to native kwargs
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 20 Aug 2023 02:16:41 -0400
parents 44be37c200b3
children 1144c69c7f58
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Aug 20 02:14:57 2023 -0400
+++ b/mercurial/commands.py	Sun Aug 20 02:16:41 2023 -0400
@@ -7961,10 +7961,8 @@
 
     Returns 0 on success, 1 if errors are encountered.
     """
-    opts = pycompat.byteskwargs(opts)
-
     level = None
-    if opts[b'full']:
+    if opts['full']:
         level = verifymod.VERIFY_FULL
     return hg.verify(repo, level)