equal
deleted
inserted
replaced
840 if not static: |
840 if not static: |
841 tp = web.templatepath or templater.templatepath() |
841 tp = web.templatepath or templater.templatepath() |
842 if isinstance(tp, str): |
842 if isinstance(tp, str): |
843 tp = [tp] |
843 tp = [tp] |
844 static = [os.path.join(p, 'static') for p in tp] |
844 static = [os.path.join(p, 'static') for p in tp] |
845 return [staticfile(static, fname, req)] |
845 staticfile(static, fname, req) |
|
846 return [] |
846 |
847 |
847 def graph(web, req, tmpl): |
848 def graph(web, req, tmpl): |
848 |
849 |
849 ctx = webutil.changectx(web.repo, req) |
850 ctx = webutil.changectx(web.repo, req) |
850 rev = ctx.rev() |
851 rev = ctx.rev() |