diff hgext/blackbox.py @ 28373:9a9dd71e882c

templater: make label() take unknown symbol as color literal Instead of the mapping hack introduced by b775a2029e8d, this patch changes the way how a label symbol is evaluated. This is still hackish, but should be more predictable in that it doesn't depend on the known color effects. This change is intended to eliminate the reference to color._effects so that color.templatelabel() can be merged with templater.label().
author Yuya Nishihara <yuya@tcha.org>
date Thu, 11 Jun 2015 22:58:27 +0900
parents f5ae291dfedf
children 63da8bd0c65e
line wrap: on
line diff