mercurial/hgweb/webutil.py
changeset 37909 7fae76c2c564
parent 37907 3b3d818bde8b
child 37910 ec03f3aa2d14
--- 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))