# HG changeset patch # User Denis Laxalde # Date 1574351314 -3600 # Node ID 6331a6fc33049bf7d4303de8f4d8ca4d25e4b74a # Parent 16b607e9f714b6d8aff615b4476418812aba4c85 logcmdutil: call _exthook() in changesettemplater Class changesetprinter has an _exthook() method that is called in _show() before the patch is displayed. Call the method as well in changesettemplater._show(). Differential Revision: https://phab.mercurial-scm.org/D7505 diff -r 16b607e9f714 -r 6331a6fc3304 mercurial/logcmdutil.py --- a/mercurial/logcmdutil.py Thu Nov 21 18:10:12 2019 +0100 +++ b/mercurial/logcmdutil.py Thu Nov 21 16:48:34 2019 +0100 @@ -598,6 +598,7 @@ # write changeset metadata, then patch if requested key = self._parts[self._tref] self.ui.write(self.t.render(key, props)) + self._exthook(ctx) self._showpatch(ctx, graphwidth) if self._parts[b'footer']: