D1630: py3: handle keyword arguments correctly in dispatch.py

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Dec 9 21:06:34 EST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG08f28f58f863: py3: handle keyword arguments correctly in dispatch.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1630?vs=4297&id=4310

REVISION DETAIL
  https://phab.mercurial-scm.org/D1630

AFFECTED FILES
  mercurial/dispatch.py

CHANGE DETAILS

diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py
--- a/mercurial/dispatch.py
+++ b/mercurial/dispatch.py
@@ -200,7 +200,8 @@
         req.ui.flush()
         if req.ui.logblockedtimes:
             req.ui._blockedtimes['command_duration'] = duration * 1000
-            req.ui.log('uiblocked', 'ui blocked ms', **req.ui._blockedtimes)
+            req.ui.log('uiblocked', 'ui blocked ms',
+                       **pycompat.strkwargs(req.ui._blockedtimes))
         req.ui.log("commandfinish", "%s exited %d after %0.2f seconds\n",
                    msg, ret or 0, duration)
         try:



To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list