Mercurial > hg
comparison tests/bzr-definitions @ 21036:a1a1bd09e4f4
amend: invoke editor forcibly when "--edit" option is specified
422981492ace introduces "--edit" option into "hg commit", but it
doesn't work for "hg commit --amend", because 422981492ace prepares
for editor invocation only around "commitfunc()" internal function,
which is used only for temporary amend commit by "cmdutil.amend()".
Actual commit message editing is executed in "cmdutil.amend()".
This patch invokes editor forcibly when "--edit" option is specified
for "hg commit --amend", even if commit message is specified
explicitly by "--message" or "--logfile".
This patch also removes useless handling for commit message and editor
invocation around "commitfunc()" internal function.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 16 Apr 2014 02:38:11 +0900 |
parents | aa9385f983fa |
children | 89872688893f |
comparison
equal
deleted
inserted
replaced
21035:e6e34c17b1cc | 21036:a1a1bd09e4f4 |
---|