Mercurial > evolve
changeset 5697:4070b23cfef2
prevnext: respect command-templates.oneline-summary if configured
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 30 Oct 2020 13:42:33 -0700 |
parents | 1441fcd52804 |
children | 5abae69db977 |
files | hgext3rd/evolve/__init__.py |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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