changeset 43830:6331a6fc3304

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
author Denis Laxalde <denis.laxalde@logilab.fr>
date Thu, 21 Nov 2019 16:48:34 +0100
parents 16b607e9f714
children 088ba9d94079
files mercurial/logcmdutil.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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']: