Patchwork D3337: localrepo: add some overlooked strkwargs love for py3

login
register
mail settings
Submitter phabricator
Date April 13, 2018, 11:18 p.m.
Message ID <2d059f4004c7b81719f8595d8bd0a130@localhost.localdomain>
Download mbox | patch
Permalink /patch/30956/
State Not Applicable
Headers show

Comments

phabricator - April 13, 2018, 11:18 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG719b8cb22936: localrepo: add some overlooked strkwargs love for py3 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3337?vs=8206&id=8209

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

AFFECTED FILES
  mercurial/localrepo.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -182,7 +182,7 @@ 
         f = pycompat.futures.Future()
 
         try:
-            result = fn(**args)
+            result = fn(**pycompat.strkwargs(args))
         except Exception:
             pycompat.future_set_exception_info(f, sys.exc_info()[1:])
         else: