Mercurial > hg
changeset 13199:a38df1250945
hgweb: added revision date to annotate line data
The only revision information yielded by the annotate view was the revision
number itself. The patch allows the use of per-line revision dates in the
corresponding templates.
author | Oli Thissen <oli@tonick.net> |
---|---|
date | Mon, 06 Dec 2010 16:56:06 +0100 |
parents | e71b2aa74ce3 |
children | 6f011cf52f9a |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Tue Dec 21 19:44:28 2010 +0900 +++ b/mercurial/hgweb/webcommands.py Mon Dec 06 16:56:06 2010 +0100 @@ -550,7 +550,8 @@ "targetline": targetline, "line": l, "lineid": "l%d" % (lineno + 1), - "linenumber": "% 6d" % (lineno + 1)} + "linenumber": "% 6d" % (lineno + 1), + "revdate": f.date()} return tmpl("fileannotate", file=f,