##// END OF EJS Templates
hgweb: use revsymbol() to determine if query is a revision...
Martin von Zweigbergk -
r37405:83d53716 default
parent child Browse files
Show More
@@ -248,7 +248,7 b' def _search(web):'
248
248
249 def getsearchmode(query):
249 def getsearchmode(query):
250 try:
250 try:
251 ctx = web.repo[query]
251 ctx = scmutil.revsymbol(web.repo, query)
252 except (error.RepoError, error.LookupError):
252 except (error.RepoError, error.LookupError):
253 # query is not an exact revision pointer, need to
253 # query is not an exact revision pointer, need to
254 # decide if it's a revset expression or keywords
254 # decide if it's a revset expression or keywords
General Comments 0
You need to be logged in to leave comments. Login now