changeset 5734:572b3f3c4a29

compat: fix format_changeset_summary_fn() for hg <= 5.6
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 28 Jan 2021 18:29:53 +0800
parents 2fce79f5ac71
children f39fd921ecba
files hgext3rd/evolve/compat.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/compat.py	Wed Jan 27 18:03:44 2021 +0800
+++ b/hgext3rd/evolve/compat.py	Thu Jan 28 18:29:53 2021 +0800
@@ -439,5 +439,5 @@
 else:
     # hg <= 5.6 (96fcc37a9c80)
     def format_changeset_summary_fn(ui, repo, command, default_spec):
-        logcmdutil.changesetdisplayer(ui, repo,
-                                      {b'template': default_spec}).show
+        return logcmdutil.changesetdisplayer(ui, repo,
+                                             {b'template': default_spec}).show