diff mercurial/revset.py @ 38251:ead71b15efd5

merge with stable
author Augie Fackler <augie@google.com>
date Wed, 06 Jun 2018 13:31:24 -0400
parents 0a79fb64118e edb28a6d95b7
children f1d55ae2c5c8
line wrap: on
line diff
--- 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