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".
--- 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'):