# HG changeset patch # User Oli Thissen # Date 1291650966 -3600 # Node ID a38df12509454d6c3c66ca6146223f859c382ca7 # Parent e71b2aa74ce33dfb9e1e4e3c12a032f36371c188 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. diff -r e71b2aa74ce3 -r a38df1250945 mercurial/hgweb/webcommands.py --- 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,