--- a/mercurial/commands.py Sun Jun 01 00:08:32 2014 +0900
+++ b/mercurial/commands.py Sun Jun 01 00:08:32 2014 +0900
@@ -386,6 +386,7 @@
('', 'parent', '',
_('parent to choose when backing out merge (DEPRECATED)'), _('REV')),
('r', 'rev', '', _('revision to backout'), _('REV')),
+ ('e', 'edit', False, _('invoke editor on commit messages')),
] + mergetoolopts + walkopts + commitopts + commitopts2,
_('[OPTION]... [-r] REV'))
def backout(ui, repo, node=None, rev=None, **opts):
@@ -488,7 +489,7 @@
def commitfunc(ui, repo, message, match, opts):
- e = cmdutil.getcommiteditor()
+ e = cmdutil.getcommiteditor(**opts)
if not message:
# we don't translate commit messages
message = "Backed out changeset %s" % short(node)