diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -89,6 +89,7 @@ def _filerevision(web, tmpl, fctx): author=fctx.user(), date=fctx.date(), desc=fctx.description(), + extra=fctx.extra(), branch=webutil.nodebranchnodefault(fctx), parent=webutil.parents(fctx), child=webutil.children(fctx), @@ -162,6 +163,7 @@ def _search(web, req, tmpl): child=webutil.children(ctx), changelogtag=showtags, desc=ctx.description(), + extra=ctx.extra(), date=ctx.date(), files=files, rev=ctx.rev(), @@ -216,6 +218,7 @@ def changelog(web, req, tmpl, shortlog=F "child": webutil.children(ctx, i + 1), "changelogtag": showtags, "desc": ctx.description(), + "extra": ctx.extra(), "date": ctx.date(), "files": files, "rev": i, @@ -299,6 +302,7 @@ def changeset(web, req, tmpl): changesetbranch=showbranch, author=ctx.user(), desc=ctx.description(), + extra=ctx.extra(), date=ctx.date(), files=files, diffsummary=lambda **x: webutil.diffsummary(diffstatgen), @@ -531,6 +535,7 @@ def summary(web, req, tmpl): parity=parity.next(), author=ctx.user(), desc=ctx.description(), + extra=ctx.extra(), date=ctx.date(), rev=i, node=hn, @@ -590,6 +595,7 @@ def filediff(web, req, tmpl): rev=ctx.rev(), date=ctx.date(), desc=ctx.description(), + extra=ctx.extra(), author=ctx.user(), rename=rename, branch=webutil.nodebranchnodefault(ctx), @@ -651,6 +657,7 @@ def comparison(web, req, tmpl): rev=ctx.rev(), date=ctx.date(), desc=ctx.description(), + extra=ctx.extra(), author=ctx.user(), rename=rename, branch=webutil.nodebranchnodefault(ctx), @@ -689,6 +696,7 @@ def annotate(web, req, tmpl): "rev": f.rev(), "author": f.user(), "desc": f.description(), + "extra": f.extra(), "file": f.path(), "targetline": targetline, "line": l, @@ -705,6 +713,7 @@ def annotate(web, req, tmpl): author=fctx.user(), date=fctx.date(), desc=fctx.description(), + extra=fctx.extra(), rename=webutil.renamelink(fctx), branch=webutil.nodebranchnodefault(fctx), parent=webutil.parents(fctx), @@ -770,6 +779,7 @@ def filelog(web, req, tmpl): "parent": webutil.parents(iterfctx), "child": webutil.children(iterfctx), "desc": iterfctx.description(), + "extra": iterfctx.extra(), "tags": webutil.nodetagsdict(repo, iterfctx.node()), "bookmarks": webutil.nodebookmarksdict( repo, iterfctx.node()),