changeset 7717:f9ba30cb7ee4

hgweb: expose sibling branches to templater
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 26 Jan 2009 15:52:10 +0100
parents 4ad12930a459
children 5d25b2f59ade
files mercurial/hgweb/webutil.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webutil.py	Mon Jan 26 16:50:27 2009 +0100
+++ b/mercurial/hgweb/webutil.py	Mon Jan 26 15:52:10 2009 +0100
@@ -67,6 +67,7 @@
         d['user'] = s.user()
         d['date'] = s.date()
         d['description'] = s.description()
+        d['branch'] = s.branch()
         if hasattr(s, 'path'):
             d['file'] = s.path()
         yield d