mercurial/cmdutil.py
changeset 35547 b6dbc860570d
parent 35545 349bcd7fa670
child 35548 b14c8bcfbad9
--- a/mercurial/cmdutil.py	Sun Oct 22 22:52:36 2017 +0900
+++ b/mercurial/cmdutil.py	Thu Jan 04 12:00:18 2018 +0900
@@ -2523,7 +2523,7 @@
         if not (revs.isdescending() or revs.istopo()):
             revs.sort(reverse=True)
     if expr:
-        matcher = revset.match(repo.ui, expr)
+        matcher = revset.match(None, expr)
         revs = matcher(repo, revs)
     if limit is not None:
         revs = revs.slice(0, limit)