py3: handle keyword arguments correctly in revset.py
Differential Revision: https://phab.mercurial-scm.org/D1640
--- a/mercurial/revset.py Sun Dec 10 04:48:00 2017 +0530
+++ b/mercurial/revset.py Sun Dec 10 04:48:12 2017 +0530
@@ -22,6 +22,7 @@
obsutil,
pathutil,
phases,
+ pycompat,
registrar,
repoview,
revsetlang,
@@ -266,7 +267,8 @@
def _destupdate(repo, subset, x):
# experimental revset for update destination
args = getargsdict(x, 'limit', 'clean')
- return subset & baseset([destutil.destupdate(repo, **args)[0]])
+ return subset & baseset([destutil.destupdate(repo,
+ **pycompat.strkwargs(args))[0]])
@predicate('_destmerge')
def _destmerge(repo, subset, x):