Mercurial > hg
diff mercurial/hgweb/webcommands.py @ 7410:f1111704061e
coal/paper: show branch name in changeset view
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 25 Nov 2008 22:53:01 +0100 |
parents | 0fa3b6677027 |
children | cf7741aa1e96 |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Tue Nov 25 21:54:28 2008 +0100 +++ b/mercurial/hgweb/webcommands.py Tue Nov 25 22:53:01 2008 +0100 @@ -227,6 +227,7 @@ def changeset(web, req, tmpl): ctx = webutil.changectx(web.repo, req) showtags = webutil.showtag(web.repo, tmpl, 'changesettag', ctx.node()) + showbranch = webutil.nodebranchnodefault(ctx) parents = ctx.parents() files = [] @@ -246,6 +247,7 @@ parent=webutil.siblings(parents), child=webutil.siblings(ctx.children()), changesettag=showtags, + changesetbranch=showbranch, author=ctx.user(), desc=ctx.description(), date=ctx.date(),