sapling/hgext/amend
Mark Thomas 7009f7f2b0 cmdutil: add message template for amend -m
Summary:
Introduce a new template config option `amend.messagetemplate`, which, when
set, is applied to the commit message when amend is run with the `-m` option.

The template is provided with the old message, as `oldmessage` as well as the
message provided on the amend command line, as `message`. This can be
configured so that the amend message only overrides part of the old message.

Reviewed By: quark-zju

Differential Revision: D10857454

fbshipit-source-id: 6eb6f33624fae32fc7a344769e39f5c7a78a3604
2018-10-27 11:32:05 -07:00
..
__init__.py cmdutil: add message template for amend -m 2018-10-27 11:32:05 -07:00
common.py amend: replace with the fbamend extension 2018-10-11 06:59:23 -07:00
fold.py tidy up command usage 2018-10-19 06:51:42 -07:00
hiddenoverride.py amend: replace with the fbamend extension 2018-10-11 06:59:23 -07:00
hide.py tidy up command usage 2018-10-19 06:51:42 -07:00
metaedit.py Fix metaedit docs 2018-10-23 10:07:06 -07:00
movement.py help: improve some help messages 2018-10-15 09:37:19 -07:00
prune.py tidy up command usage 2018-10-19 06:51:42 -07:00
restack.py commands: update help text for pull and rebase 2018-10-23 11:41:07 -07:00
revsets.py amend: replace with the fbamend extension 2018-10-11 06:59:23 -07:00
split.py tidy up command usage 2018-10-19 06:51:42 -07:00
unamend.py help: improve some help messages 2018-10-15 09:37:19 -07:00