# HG changeset patch # User Martin von Zweigbergk # Date 1604090582 25200 # Node ID 1441fcd52804b928f614378f2050ac96d7778c54 # Parent 8c7de8f8bb425bec0c227078729739b14efb29c1 touch: respect command-templates.oneline-summary if configured diff -r 8c7de8f8bb42 -r 1441fcd52804 hgext3rd/evolve/cmdrewrite.py --- 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)