Mercurial > hg-stable
changeset 21035:e6e34c17b1cc
commit: abolish useless "--force-editor" internal option for "hg commit"
"--force-editor" option for "hg commit" has been useless since
12721a20ed30, which makes "commands.tag()" invoke "cmdutil.commit()"
directly instead of "commands.commit()" with "--force-editor" internal
option.
This patch abolishes useless "--force-editor" internal option for "hg
commit".
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 16 Apr 2014 02:04:41 +0900 |
parents | 693b4cb4330f |
children | a1a1bd09e4f4 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Apr 15 14:15:35 2014 -0400 +++ b/mercurial/commands.py Wed Apr 16 02:04:41 2014 +0900 @@ -1364,7 +1364,7 @@ Returns 0 on success, 1 if nothing changed. """ - forceeditor = opts.get('force_editor') or opts.get('edit') + forceeditor = opts.get('edit') if opts.get('subrepos'): if opts.get('amend'):