# HG changeset patch # User Martin von Zweigbergk # Date 1604090553 25200 # Node ID 4070b23cfef205948179e1f587f75c2c7aaff042 # Parent 1441fcd52804b928f614378f2050ac96d7778c54 prevnext: respect command-templates.oneline-summary if configured diff -r 1441fcd52804 -r 4070b23cfef2 hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Fri Oct 30 13:43:02 2020 -0700 +++ b/hgext3rd/evolve/__init__.py Fri Oct 30 13:42:33 2020 -0700 @@ -266,7 +266,6 @@ help, hg, lock as lockmod, - logcmdutil, node, pycompat, revset, @@ -940,8 +939,8 @@ if topic and hastopic: template = utility.stacktemplate - display = logcmdutil.changesetdisplayer(ui, repo, - {b'template': template}).show + display = compat.format_changeset_summary_fn(ui, repo, b'previous', + template) target, bookmark = _findprevtarget(repo, display, opts.get('move_bookmark'), topic) @@ -999,8 +998,8 @@ children = [ctx for ctx in children if ctx not in filtered] template = utility.stacktemplate opts['stacktemplate'] = True - display = logcmdutil.changesetdisplayer(ui, repo, - {b'template': template}).show + display = compat.format_changeset_summary_fn(ui, repo, b'next', + template) # check if we need to evolve while updating to the next child revision needevolve = False