Mercurial > evolve
changeset 5696:1441fcd52804
touch: respect command-templates.oneline-summary if configured
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 30 Oct 2020 13:43:02 -0700 |
parents | 8c7de8f8bb42 |
children | 4070b23cfef2 |
files | hgext3rd/evolve/cmdrewrite.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/cmdrewrite.py Fri Oct 30 13:42:51 2020 -0700 +++ b/hgext3rd/evolve/cmdrewrite.py Fri Oct 30 13:43:02 2020 -0700 @@ -22,7 +22,6 @@ error, hg, lock as lockmod, - logcmdutil, merge, node, obsolete, @@ -1334,8 +1333,7 @@ with ui.configoverride(overrides, b'touch'): rewriteutil.precheck(repo, revs, b'touch') tmpl = utility.shorttemplate - display = logcmdutil.changesetdisplayer(ui, repo, - {b'template': tmpl}).show + display = compat.format_changeset_summary_fn(ui, repo, b'touch', tmpl) with repo.wlock(), repo.lock(), repo.transaction(b'touch'): touchnodes(ui, repo, revs, display, **opts)