##// END OF EJS Templates
graphlog: bring back color to node symbol template...
Yuya Nishihara -
r28428:6a4a4ca2 default
parent child Browse files
Show More
@@ -2206,6 +2206,7 b' def _graphnodeformatter(ui, displayer):'
2206 2206 def formatnode(repo, ctx):
2207 2207 props['ctx'] = ctx
2208 2208 props['repo'] = repo
2209 props['ui'] = repo.ui
2209 2210 props['revcache'] = {}
2210 2211 return templater.stringify(templ('graphnode', **props))
2211 2212 return formatnode
@@ -2407,4 +2407,11 b' node template with changeset_templater ('
2407 2407 o | 5 null+5
2408 2408 | |
2409 2409
2410 label() should just work in node template:
2411
2412 $ hg log -Gqr 7 --config extensions.color= --color=debug \
2413 > --config ui.graphnodetemplate='{label("branch.{branch}", rev)}'
2414 [branch.default|7] [log.node|7:02dbb8e276b8]
2415 |
2416
2410 2417 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now