diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -299,7 +299,7 @@ def collapse(repo, first, last, commitop user=user, date=date, extra=extra, - editor=cmdutil.commitforceeditor) + editor=cmdutil.getcommiteditor(edit=True)) return repo.commitctx(new) def pick(ui, repo, ctx, ha, opts):