sapling/mercurial/hgweb
Gregory Szorc 35a9613552 hgweb: add phase to {changeset} template
It's pretty surprising phase wasn't part of this template call already.
We now expose {phase} to the {changeset} template and we expose this
data to JSON.

This brings JSON output in line with the output from `hg log -Tjson`.
The lone exception is hweb doesn't print the numeric rev. As has been
stated previously, I don't believe hgweb should be exposing these
unstable identifiers. (We can add them later if we really want them.)
There is still work to bring hgweb in parity with --verbose and
--debug output from the CLI.
2015-03-31 22:29:12 -07: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 style: kill ersatz if-else ternary operators 2015-03-13 17:00:06 -04:00
webutil.py hgweb: add phase to {changeset} template 2015-03-31 22:29:12 -07:00
wsgicgi.py hgweb.cgi: fix internal WSGI emulation (issue3804) 2013-02-04 23:25:25 +01:00