mercurial/revset.py
branchstable
changeset 37854 edb28a6d95b7
parent 37674 f83cb91b052e
child 38239 ead71b15efd5
--- a/mercurial/revset.py	Fri May 11 20:08:30 2018 +0900
+++ b/mercurial/revset.py	Fri May 11 20:10:22 2018 +0900
@@ -2171,7 +2171,7 @@
 
 def match(ui, spec, lookup=None):
     """Create a matcher for a single revision spec"""
-    return matchany(ui, [spec], lookup=None)
+    return matchany(ui, [spec], lookup=lookup)
 
 def matchany(ui, specs, lookup=None, localalias=None):
     """Create a matcher that will include any revisions matching one of the