[PATCH 07 of 10 py3] help: convert dict to strkwargs

Augie Fackler raf at durin42.com
Mon May 29 10:32:29 EDT 2017


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1495992521 14400
#      Sun May 28 13:28:41 2017 -0400
# Node ID 44be9a86f325e1cc3d27ce001700652ce2305178
# Parent  e79e715a5249e5c90c0ef7221253acd2ba69bf12
help: convert dict to strkwargs

diff --git a/mercurial/help.py b/mercurial/help.py
--- a/mercurial/help.py
+++ b/mercurial/help.py
@@ -619,7 +619,7 @@ def help_(ui, name, unknowncmd=False, fu
         # program name
         if not ui.quiet:
             rst = [_("Mercurial Distributed SCM\n"), '\n']
-        rst.extend(helplist(None, **opts))
+        rst.extend(helplist(None, **pycompat.strkwargs(opts)))
 
     return ''.join(rst)
 


More information about the Mercurial-devel mailing list