diff -r 8808d5d401ee -r 7fae76c2c564 mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py Tue May 08 17:54:57 2018 +0800 +++ b/mercurial/hgweb/webutil.py Tue May 08 19:00:01 2018 +0800 @@ -733,3 +733,7 @@ repo.ui.warn(_("websub: invalid regexp for %s: %s\n") % (key, regexp)) return websubtable + +def getgraphnode(repo, ctx): + return (templatekw.getgraphnodecurrent(repo, ctx) + + templatekw.getgraphnodesymbol(ctx))