Mercurial > public > mercurial-scm > hg-stable
diff mercurial/templater.py @ 38295:0e0d03d09ecd
templater: rename mappable to hybriditem as it is the primary use case
This frees up the name 'mappable' for new interface type.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 09 Jun 2018 12:36:06 +0900 |
parents | 7824783a6d5e |
children | 8d6109b49b31 |
line wrap: on
line diff
--- a/mercurial/templater.py Fri Jun 08 23:32:33 2018 +0900 +++ b/mercurial/templater.py Sat Jun 09 12:36:06 2018 +0900 @@ -42,7 +42,7 @@ represents a list/dict of printable values, which can also be converted to mappings by % operator. -mappable +hybriditem represents a scalar printable value, also supports % operator. mappinggenerator, mappinglist