# HG changeset patch # User Brendan Cully # Date 1160864925 25200 # Node ID defadc26e674b3a3afbb2d0d577a59c47e21abc5 # Parent a74addddd0926ee0c185475fc6bfe97700876620 hgweb: add changeset description to annotate page diff -r a74addddd092 -r defadc26e674 mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Sat Oct 14 18:47:48 2006 -0300 +++ b/mercurial/hgweb/hgweb_mod.py Sat Oct 14 15:28:45 2006 -0700 @@ -393,6 +393,7 @@ node=hex(fctx.node()), author=fctx.user(), date=fctx.date(), + desc=fctx.description(), rename=self.renamelink(fl, n), parent=self.siblings(fctx.parents(), file=f), child=self.siblings(fctx.children(), file=f), diff -r a74addddd092 -r defadc26e674 templates/fileannotate.tmpl --- a/templates/fileannotate.tmpl Sat Oct 14 18:47:48 2006 -0300 +++ b/templates/fileannotate.tmpl Sat Oct 14 15:28:45 2006 -0700 @@ -32,6 +32,10 @@ permissions: #permissions|permissions# + + description: + {desc|strip|escape|addbreaks} +
diff -r a74addddd092 -r defadc26e674 templates/gitweb/fileannotate.tmpl --- a/templates/gitweb/fileannotate.tmpl Sat Oct 14 18:47:48 2006 -0300 +++ b/templates/gitweb/fileannotate.tmpl Sat Oct 14 15:28:45 2006 -0700 @@ -25,6 +25,7 @@
#file|escape#
+
@@ -45,7 +46,11 @@
changeset #rev#:permissions: #permissions|permissions#
+
+
+{desc|strip|escape|addbreaks} +
#annotate%annotateline#