changeset 41376:56fcbac62f67

wireprotov2server: use pycompat.strkwargs when calling cachekeyfn Differential Revision: https://phab.mercurial-scm.org/D5696
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 25 Jan 2019 14:38:49 -0800
parents f1b0d9988825
children e053053ceba7
files mercurial/wireprotov2server.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/wireprotov2server.py	Thu Jan 17 18:05:54 2019 +0530
+++ b/mercurial/wireprotov2server.py	Fri Jan 25 14:38:49 2019 -0800
@@ -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):