mercurial/hgweb/webutil.py
changeset 37909 7fae76c2c564
parent 37907 3b3d818bde8b
child 37910 ec03f3aa2d14
equal deleted inserted replaced
37908:8808d5d401ee 37909:7fae76c2c564
   731             websubtable.append((regexp, format))
   731             websubtable.append((regexp, format))
   732         except re.error:
   732         except re.error:
   733             repo.ui.warn(_("websub: invalid regexp for %s: %s\n")
   733             repo.ui.warn(_("websub: invalid regexp for %s: %s\n")
   734                          % (key, regexp))
   734                          % (key, regexp))
   735     return websubtable
   735     return websubtable
       
   736 
       
   737 def getgraphnode(repo, ctx):
       
   738     return (templatekw.getgraphnodecurrent(repo, ctx) +
       
   739             templatekw.getgraphnodesymbol(ctx))