# HG changeset patch # User FUJIWARA Katsunori # Date 1397581481 -32400 # Node ID e6e34c17b1ccff02fdad0c99c22f82c32c6daa1f # Parent 693b4cb4330fdeda073e68983396079f463b3f03 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". diff -r 693b4cb4330f -r e6e34c17b1cc mercurial/commands.py --- 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'):