diff -r 18cbe2d872d3 -r 08b2ae9fc030 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Wed Aug 15 10:57:47 2018 +0900 +++ b/mercurial/hgweb/webcommands.py Wed Aug 15 17:06:12 2018 -0400 @@ -276,9 +276,9 @@ if not funcsused.issubset(revset.safesymbols): return MODE_KEYWORD, query - mfunc = revset.match(web.repo.ui, revdef, - lookup=revset.lookupfn(web.repo)) try: + mfunc = revset.match(web.repo.ui, revdef, + lookup=revset.lookupfn(web.repo)) revs = mfunc(web.repo) return MODE_REVSET, revs # ParseError: wrongly placed tokens, wrongs arguments, etc