--- a/mercurial/scmutil.py Sun Feb 19 18:19:33 2017 +0900
+++ b/mercurial/scmutil.py Sun Feb 19 20:00:18 2017 +0900
@@ -29,7 +29,6 @@
pathutil,
phases,
pycompat,
- revset,
revsetlang,
similar,
util,
@@ -950,8 +949,7 @@
if isinstance(spec, int):
spec = revsetlang.formatspec('rev(%d)', spec)
allspecs.append(spec)
- m = revset.matchany(repo.ui, allspecs, repo)
- return m(repo)
+ return repo.anyrevs(allspecs, user=True)
def meaningfulparents(repo, ctx):
"""Return list of meaningful (or all if debug) parentrevs for rev.