changeset 37387 | 83d537162894 |
parent 37363 | d3a2344446e6 |
child 37400 | 47aea60d114d |
--- a/mercurial/hgweb/webcommands.py Thu Apr 05 14:03:33 2018 -0700 +++ b/mercurial/hgweb/webcommands.py Thu Apr 05 21:32:59 2018 -0700 @@ -248,7 +248,7 @@ def getsearchmode(query): try: - ctx = web.repo[query] + ctx = scmutil.revsymbol(web.repo, query) except (error.RepoError, error.LookupError): # query is not an exact revision pointer, need to # decide if it's a revset expression or keywords