diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -555,8 +555,12 @@ def filelog(web, req, tmpl): "rename": webutil.renamelink(fctx), "parent": webutil.siblings(fctx.parents()), "child": webutil.siblings(fctx.children()), - "desc": ctx.description()}) - + "desc": ctx.description(), + "tags": webutil.nodetagsdict(web.repo, ctx.node()), + "branch": webutil.nodebranchnodefault(ctx), + "inbranch": webutil.nodeinbranch(web.repo, ctx), + "branches": webutil.nodebranchdict(web.repo, ctx)}) + if limit > 0: l = l[:limit] diff --git a/templates/coal/filelogentry.tmpl b/templates/coal/filelogentry.tmpl --- a/templates/coal/filelogentry.tmpl +++ b/templates/coal/filelogentry.tmpl @@ -1,5 +1,5 @@ {date|age} {author|person} - {desc|strip|firstline|escape} + {desc|strip|firstline|escape}{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}