##// END OF EJS Templates
templates: add __init__.py files to templates/ dirs...
templates: add __init__.py files to templates/ dirs This is necessary for them to be loaded with `importlib.resources`, which we want to do for PyOxidizer and similar. `importlib.resources` cannot read resources from submodules (`resources.open_binary('mercurial.templates', 'coal/map')` is not valid), so we need one `__init__.py` per directory. Differential Revision: https://phab.mercurial-scm.org/D8854

File last commit:

r35549:6c226473 default
r45863:f55c47f4 default
Show More
graphentry.tmpl
9 lines | 320 B | application/x-cheetah | CheetahLexer
<li class="parity{parity}" data-node="{node|short}">
<div class="fg">
<span class="desc">
<a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><b>{desc|strip|firstline|escape|nonempty}</b></a>
</span>
{alltags}
<div class="info">{date|age}, by {author|person}</div>
</div>
</li>