# HG changeset patch # User Jun Wu # Date 1503940518 25200 # Node ID fc91ba4ffa524506d2431daf38bfb84ececc612d # Parent aec176db232c10ed4a82959707c0b7330e0f1f9f revset: accept additional arguments The upstream is going to add an `order` argument to `revset.methods` functions. Let's update our code to be compatible with it. [1]: https://phab.mercurial-scm.org/D451 diff --git a/hgsubversion/util.py b/hgsubversion/util.py --- a/hgsubversion/util.py +++ b/hgsubversion/util.py @@ -387,10 +387,10 @@ revsets = { 'svnrev': revset_svnrev, } -def revset_stringset(orig, repo, subset, x): +def revset_stringset(orig, repo, subset, x, *args, **kwargs): if x.startswith('r') and x[1:].isdigit(): return revset_svnrev(repo, subset, ('string', x[1:])) - return orig(repo, subset, x) + return orig(repo, subset, x, *args, **kwargs) def getfilestoresize(ui): """Return the replay or stupid file memory store size in megabytes or -1"""