sapling/mercurial/hgweb
Andrew Pritchard 2d8acb3e0b wireproto: add out-of-band error class to allow remote repo to report errors
Older clients will still print the provided error message and not much else:
over ssh, this will be each line prefixed with 'remote: ' in addition to an
"abort: unexpected response: '\n'"; over http, this will be the '---%<---'
banners in addition to the 'does not appear to be a repository' message.

Currently, clients with this patch will display 'abort: remote error:\n' and
the provided error text, but it is trivial to style the error text however is
deemed appropriate.
2011-08-02 15:21:10 -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: initialize permhooks at definition time 2011-04-30 13:47:22 +02:00
hgweb_mod.py merge with stable 2011-08-01 10:54:34 -05:00
hgwebdir_mod.py hgweb: extract the path logic from updatereqenv and add doctests 2011-08-01 14:53:10 -05:00
protocol.py wireproto: add out-of-band error class to allow remote repo to report errors 2011-08-02 15:21:10 -04:00
request.py globally: use safehasattr(x, '__iter__') instead of hasattr(x, '__iter__') 2011-07-25 15:30:19 -05:00
server.py hgweb: move remaining hasattr calls to safehasattr 2011-07-25 15:38:46 -05:00
webcommands.py hgweb: raw file mimetype guessing configurable, off by default (BC) (issue2923) 2011-07-31 01:46:52 +02:00
webutil.py hgweb: move remaining hasattr calls to safehasattr 2011-07-25 15:38:46 -05:00
wsgicgi.py wsgicgi: use getattr instead of hasattr 2011-07-25 15:38:10 -05:00