# HG changeset patch # User Brendan Cully # Date 1160868471 25200 # Node ID 3c8f0dc9a6d32355685eee8d52611f26dd1d8827 # Parent be628f1cd3f44e6e337c6c01f15922f5365e8fa9 hgweb: add changeset description to file revision page diff -r be628f1cd3f4 -r 3c8f0dc9a6d3 mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Sat Oct 14 16:20:22 2006 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Sat Oct 14 16:27:51 2006 -0700 @@ -361,6 +361,7 @@ node=hex(fctx.node()), author=fctx.user(), date=fctx.date(), + desc=fctx.description(), parent=self.siblings(fctx.parents()), child=self.siblings(fctx.children()), rename=self.renamelink(fl, n), diff -r be628f1cd3f4 -r 3c8f0dc9a6d3 templates/filerevision.tmpl --- a/templates/filerevision.tmpl Sat Oct 14 16:20:22 2006 -0700 +++ b/templates/filerevision.tmpl Sat Oct 14 16:27:51 2006 -0700 @@ -31,6 +31,10 @@ permissions: #permissions|permissions# + + description: + {desc|strip|escape|addbreaks} +
diff -r be628f1cd3f4 -r 3c8f0dc9a6d3 templates/gitweb/filerevision.tmpl
--- a/templates/gitweb/filerevision.tmpl	Sat Oct 14 16:20:22 2006 -0700
+++ b/templates/gitweb/filerevision.tmpl	Sat Oct 14 16:27:51 2006 -0700
@@ -25,6 +25,7 @@
 
 
#file|escape#
+
@@ -44,6 +45,11 @@
changeset #rev#:permissions: #permissions|permissions#
+
+ +
+{desc|strip|escape|addbreaks} +
#text%fileline#