Mercurial > hg
comparison mercurial/hg.py @ 38931:5caee9f923ae stable
hgweb: catch ParseError that's raised by revset.match()
Some queries, like the demonstrated "first(::)", fail earlier than we call
mfunc(), and that results in a "500 Internal Server Error". To prevent it,
revset.match() also needs to be in a try-except block.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 09 Aug 2018 13:04:52 +0800 |
parents | e06a10d3b926 |
children | d58958676b3c |
comparison
equal
deleted
inserted
replaced
38833:c9e6ca31cfe7 | 38931:5caee9f923ae |
---|