equal
deleted
inserted
replaced
2290 spec = ui.config('ui', 'graphnodetemplate') |
2290 spec = ui.config('ui', 'graphnodetemplate') |
2291 if not spec: |
2291 if not spec: |
2292 return templatekw.showgraphnode # fast path for "{graphnode}" |
2292 return templatekw.showgraphnode # fast path for "{graphnode}" |
2293 |
2293 |
2294 spec = templater.unquotestring(spec) |
2294 spec = templater.unquotestring(spec) |
2295 templ = formatter.gettemplater(ui, 'graphnode', spec) |
2295 templ = formatter.maketemplater(ui, 'graphnode', spec) |
2296 cache = {} |
2296 cache = {} |
2297 if isinstance(displayer, changeset_templater): |
2297 if isinstance(displayer, changeset_templater): |
2298 cache = displayer.cache # reuse cache of slow templates |
2298 cache = displayer.cache # reuse cache of slow templates |
2299 props = templatekw.keywords.copy() |
2299 props = templatekw.keywords.copy() |
2300 props['templ'] = templ |
2300 props['templ'] = templ |