D5696: wireprotov2server: use pycompat.strkwargs when calling cachekeyfn
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sat Jan 26 00:01:24 UTC 2019
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
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