hgweb: expose sibling branches to templater
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 26 Jan 2009 15:52:10 +0100
changeset 7717 f9ba30cb7ee4
parent 7716 4ad12930a459
child 7719 5d25b2f59ade
hgweb: expose sibling branches to templater
mercurial/hgweb/webutil.py
--- 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