sapling/mercurial/hgweb
Alexander Plavin e1392e4ce2 hgweb: add revset syntax support to search
This mode is used when all the conditions are met:
- 'reverse(%s)' % query string can be parsed to a revset tree
- this tree has depth more than two, i.e. the query has some part of
revset syntax used
- the repo can be actually matched against this tree, i.e. it has only existent
function/operators and revisions/tags/bookmarks specified are correct
- no revset regexes are used in the query (strings which start with 're:')
- only functions explicitly marked as safe in revset.py are used in the query

Add several new tests for different parsing conditions and exception handling.
2013-09-06 13:30:56 +04:00
..
__init__.py hgweb: make hgweb.hgweb a unified interface to hgweb/hgwebdir 2010-04-26 11:03:40 -05:00
common.py hgweb: refactor checks for granting and revoking user permissions 2013-04-15 18:57:04 -03:00
hgweb_mod.py hgweb: force connection close on early response 2013-05-11 20:40:15 -05:00
hgwebdir_mod.py hgweb: refactor checks for granting and revoking user permissions 2013-04-15 18:57:04 -03:00
protocol.py hgweb: pass the actual response body to request.response, not just the length 2013-01-15 01:07:03 +01:00
request.py hgweb: pass the actual response body to request.response, not just the length 2013-01-15 01:07:03 +01:00
server.py serve: don't send any content headers with 304 responses 2013-01-15 20:54:57 +01:00
webcommands.py hgweb: add revset syntax support to search 2013-09-06 13:30:56 +04:00
webutil.py hgweb: handle filtered "0" rev in navigation 2013-04-30 13:53:49 +02:00
wsgicgi.py hgweb.cgi: fix internal WSGI emulation (issue3804) 2013-02-04 23:25:25 +01:00