mercurial/templater.py
changeset 33554 2943141f5e07
parent 33033 c31d45623304
child 34011 3d0f8918351b
--- a/mercurial/templater.py	Mon Jul 17 13:22:59 2017 -0500
+++ b/mercurial/templater.py	Sat Jul 15 15:51:57 2017 -0700
@@ -874,7 +874,7 @@
     repo = ctx.repo()
 
     def query(expr):
-        m = revsetmod.match(repo.ui, expr)
+        m = revsetmod.match(repo.ui, expr, repo=repo)
         return m(repo)
 
     if len(args) > 1: