mercurial/revset.py
changeset 25926 996102be8b91
parent 25902 5214cbdc37e5
child 25927 44da63623fca
--- a/mercurial/revset.py	Sat Aug 08 00:41:13 2015 -0700
+++ b/mercurial/revset.py	Fri Aug 07 21:31:16 2015 +0900
@@ -2667,6 +2667,9 @@
     if repo:
         lookup = repo.__contains__
     tree = parse(spec, lookup)
+    return _makematcher(ui, tree, repo)
+
+def _makematcher(ui, tree, repo):
     if ui:
         tree = findaliases(ui, tree, showwarning=ui.warn)
     tree = foldconcat(tree)