Mercurial > public > mercurial-scm > hg
diff hgext/rebase.py @ 45770:96fcc37a9c80
rebase: make summary template configurable, with default to shared template
Differential Revision: https://phab.mercurial-scm.org/D9251
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 22 Oct 2020 23:10:06 -0700 |
parents | b4c193509cd0 |
children | f90a5c211251 |
line wrap: on
line diff
--- a/hgext/rebase.py Thu Oct 22 22:29:22 2020 -0700 +++ b/hgext/rebase.py Thu Oct 22 23:10:06 2020 -0700 @@ -34,7 +34,6 @@ dirstateguard, error, extensions, - formatter, merge as mergemod, mergestate as mergestatemod, mergeutil, @@ -52,7 +51,6 @@ scmutil, smartset, state as statemod, - templatekw, util, ) @@ -153,7 +151,9 @@ labels_spec, labels_spec, ) - return cmdutil.rendertemplate(ctx, spec) + return cmdutil.format_changeset_summary( + ctx.repo().ui, ctx, command=b'rebase', default_spec=spec + ) class rebaseruntime(object):