mercurial/hgweb/webcommands.py
changeset 37674 f83cb91b052e
parent 37512 aac97d043e6d
child 37698 7738ae638b62
--- a/mercurial/hgweb/webcommands.py	Sat Apr 14 12:44:40 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Sat Apr 14 12:57:32 2018 +0900
@@ -276,7 +276,8 @@
         if not funcsused.issubset(revset.safesymbols):
             return MODE_KEYWORD, query
 
-        mfunc = revset.match(web.repo.ui, revdef, repo=web.repo)
+        mfunc = revset.match(web.repo.ui, revdef,
+                             lookup=revset.lookupfn(web.repo))
         try:
             revs = mfunc(web.repo)
             return MODE_REVSET, revs