diff -r 0f2dcbccf9c9 -r 858618d43524 mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py Fri May 22 12:14:23 2015 -0500 +++ b/mercurial/hgweb/webutil.py Tue May 26 22:58:30 2015 +0800 @@ -331,7 +331,7 @@ archives=web.archivelist(ctx.hex()), tags=nodetagsdict(web.repo, ctx.node()), bookmarks=nodebookmarksdict(web.repo, ctx.node()), - branch=nodebranchnodefault(ctx), + branch=showbranch, inbranch=nodeinbranch(web.repo, ctx), branches=nodebranchdict(web.repo, ctx))