sapling/mercurial/hgweb
Gregory Szorc 07417ade7a hgweb: expose raw line numbers to templates
Surpringly, the templates didn't receive an unmodified version of the
line numbers. Expose it to make implementing the JSON templates easier.

In theory, we could post-process an existing template variable. But
extra string manipulation seems quite wasteful, especially on items that
could occur hundreds or even thousands of times in output.
2015-04-10 22:34:12 -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: refresh hgweb.repo on phase change (issue4061) 2014-09-27 21:59:55 +09:00
hgweb_mod.py merge with stable 2014-09-29 17:23:38 -05:00
hgwebdir_mod.py templater: introduce templatepaths for getting paths searched for templates 2014-09-28 16:57:37 +02:00
protocol.py wireproto: introduce an abstractserverproto class 2014-03-28 11:10:33 -07: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 hgweb: send proper HTTP response after uncaught exception 2014-11-28 10:59:02 -08:00
webcommands.py hgweb: expose raw line numbers to templates 2015-04-10 22:34:12 -04:00
webutil.py hgweb: expose raw line numbers to templates 2015-04-10 22:34:12 -04:00
wsgicgi.py hgweb.cgi: fix internal WSGI emulation (issue3804) 2013-02-04 23:25:25 +01:00