mercurial/revset.py
changeset 38239 ead71b15efd5
parent 37867 0a79fb64118e
parent 37854 edb28a6d95b7
child 38275 f1d55ae2c5c8
--- a/mercurial/revset.py	Sat May 26 03:01:14 2018 +0530
+++ b/mercurial/revset.py	Wed Jun 06 13:31:24 2018 -0400
@@ -2173,7 +2173,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