mercurial/scmutil.py
changeset 31025 6cf2857526c7
parent 31024 0b8356705de6
child 31217 0f31830fbfc4
--- 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.