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
--- 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']: