diff -r 1a05e205832a -r 0e0d03d09ecd mercurial/templateutil.py --- a/mercurial/templateutil.py Fri Jun 08 23:32:33 2018 +0900 +++ b/mercurial/templateutil.py Sat Jun 09 12:36:06 2018 +0900 @@ -215,7 +215,7 @@ if util.safehasattr(val, '_makemap'): # a nested hybrid list/dict, which has its own way of map operation return val - return mappable(None, key, val, self._makemap) + return hybriditem(None, key, val, self._makemap) def itermaps(self, context): makemap = self._makemap @@ -243,7 +243,7 @@ for k, v in xs.iteritems()} return [unwrapvalue(context, mapping, x) for x in xs] -class mappable(wrapped): +class hybriditem(wrapped): """Wrapper for non-list/dict object to support map operation This class allows us to handle both: