Mercurial > hg
comparison hgdemandimport/__init__.py @ 36518:7937850a523d
hgweb: make templater mostly compatible with log templates
Prepares for gradually switching templatekw.showsuccsandmarkers() to new API.
This was a PoC showing how to reuse templatekw functions in hgweb. We could
remove rev, node, author, etc. from the commonentry() table, but we'll have
to carefully remove all corresponding symbols from webcommands.*(). Otherwise,
we would face the issue5612.
Still templatekw.keywords aren't exported. Otherwise some tests would fail
because the atom template expects {files} to be empty in filelog, but
templatekw.showfiles() provides the {files} implementation.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 22 Dec 2017 21:59:38 +0900 |
parents | 3cfc9070245f |
children | 670eb4fa1b86 |
comparison
equal
deleted
inserted
replaced
36517:69477bac8926 | 36518:7937850a523d |
---|