D5696: wireprotov2server: use pycompat.strkwargs when calling cachekeyfn

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Jan 26 02:17:18 UTC 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0823cc2c598f: wireprotov2server: use pycompat.strkwargs when calling cachekeyfn (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5696?vs=13465&id=13474

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

AFFECTED FILES
  mercurial/wireprotov2server.py

CHANGE DETAILS

diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py
--- a/mercurial/wireprotov2server.py
+++ b/mercurial/wireprotov2server.py
@@ -390,7 +390,8 @@
         return
 
     with cacher:
-        cachekey = entry.cachekeyfn(repo, proto, cacher, **args)
+        cachekey = entry.cachekeyfn(repo, proto, cacher,
+                                    **pycompat.strkwargs(args))
 
         # No cache key or the cacher doesn't like it. Do default handling.
         if cachekey is None or not cacher.setcachekey(cachekey):



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


More information about the Mercurial-devel mailing list