--- a/hgext/histedit.py Fri Nov 13 09:41:49 2020 -0800
+++ b/hgext/histedit.py Mon Nov 16 10:30:06 2020 -0800
@@ -525,9 +525,10 @@
"""
ctx = self.repo[self.node]
ui = self.repo.ui
- summary = cmdutil.rendertemplate(
- ctx, ui.config(b'histedit', b'summary-template')
- )
+ with ui.configoverride({}, b'histedit'):
+ summary = cmdutil.rendertemplate(
+ ctx, ui.config(b'histedit', b'summary-template')
+ )
summary = summary.splitlines()[0]
line = b'%s %s %s' % (self.verb, ctx, summary)
# trim to 75 columns by default so it's not stupidly wide in my editor