Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 28428:6a4a4ca21907
graphlog: bring back color to node symbol template
Follows up 3356bf61fa25. A ui object is required to render labels.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 09 Mar 2016 23:57:15 +0900 |
parents | 3356bf61fa25 |
children | 3072ce740945 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Tue Feb 16 21:44:13 2016 +0900 +++ b/mercurial/cmdutil.py Wed Mar 09 23:57:15 2016 +0900 @@ -2206,6 +2206,7 @@ def formatnode(repo, ctx): props['ctx'] = ctx props['repo'] = repo + props['ui'] = repo.ui props['revcache'] = {} return templater.stringify(templ('graphnode', **props)) return formatnode