##// END OF EJS Templates
py3: handle keyword arguments correctly in revset.py...
Pulkit Goyal -
r35368:6eee2bcc default
parent child Browse files
Show More
@@ -22,6 +22,7 b' from . import ('
22 obsutil,
22 obsutil,
23 pathutil,
23 pathutil,
24 phases,
24 phases,
25 pycompat,
25 registrar,
26 registrar,
26 repoview,
27 repoview,
27 revsetlang,
28 revsetlang,
@@ -266,7 +267,8 b' predicate = registrar.revsetpredicate()'
266 def _destupdate(repo, subset, x):
267 def _destupdate(repo, subset, x):
267 # experimental revset for update destination
268 # experimental revset for update destination
268 args = getargsdict(x, 'limit', 'clean')
269 args = getargsdict(x, 'limit', 'clean')
269 return subset & baseset([destutil.destupdate(repo, **args)[0]])
270 return subset & baseset([destutil.destupdate(repo,
271 **pycompat.strkwargs(args))[0]])
270
272
271 @predicate('_destmerge')
273 @predicate('_destmerge')
272 def _destmerge(repo, subset, x):
274 def _destmerge(repo, subset, x):
General Comments 0
You need to be logged in to leave comments. Login now