equal
deleted
inserted
replaced
835 return revs, differ |
835 return revs, differ |
836 |
836 |
837 def _graphnodeformatter(ui, displayer): |
837 def _graphnodeformatter(ui, displayer): |
838 spec = ui.config('ui', 'graphnodetemplate') |
838 spec = ui.config('ui', 'graphnodetemplate') |
839 if not spec: |
839 if not spec: |
840 return templatekw.showgraphnode # fast path for "{graphnode}" |
840 return templatekw.getgraphnode # fast path for "{graphnode}" |
841 |
841 |
842 spec = templater.unquotestring(spec) |
842 spec = templater.unquotestring(spec) |
843 tres = formatter.templateresources(ui) |
843 tres = formatter.templateresources(ui) |
844 if isinstance(displayer, changesettemplater): |
844 if isinstance(displayer, changesettemplater): |
845 tres['cache'] = displayer.cache # reuse cache of slow templates |
845 tres['cache'] = displayer.cache # reuse cache of slow templates |