diff -r 42dbf9548bc6 -r 084c9f1ef2bd mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Mon Jun 23 10:36:00 2008 +0200 +++ b/mercurial/hgweb/webcommands.py Mon Jun 23 12:54:27 2008 +0200 @@ -602,7 +602,9 @@ desc = templatefilters.firstline(ctx.description()) desc = cgi.escape(desc) user = cgi.escape(templatefilters.person(ctx.user())) - data.append((node, vtx, edges, desc, user, age, ctx.tags())) + branch = ctx.branch() + branch = branch, web.repo.branchtags().get(branch) == ctx.node() + data.append((node, vtx, edges, desc, user, age, branch, ctx.tags())) return tmpl('graph', rev=rev, revcount=revcount, uprev=uprev, lessrev=lessrev, revcountmore=revcount and 2 * revcount or 1,