D3337: localrepo: add some overlooked strkwargs love for py3

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Apr 13 19:18:23 EDT 2018


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

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:



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


More information about the Mercurial-devel mailing list