Mercurial > hg
diff mercurial/mpatch.c @ 29812:01f036f0e40b
templater: add inheritance support to style maps
We can now specify a base map file:
__base__ = path/to/map/file
That map file will be read and used to populate unset elements of the
current map. Unlike using %include, elements in the inherited class
will be read relative to that path.
This makes it much easier to make custom local tweaks to a style.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 17 Aug 2016 13:40:27 -0500 |
parents | 155f0cc3f813 |
children | 347c0f4232e1 |