# HG changeset patch # User FUJIWARA Katsunori # Date 1399736975 -32400 # Node ID 6a48713cb72e0f80688ff9a635cd73fd294d7e08 # Parent 47bfe5d433ac66d17a984f614e5a91bf3926e312 histedit: use "getcommiteditor()" instead of explicit editor choice for "fold" This patch doesn't change any tests like as preceding patches, because editor invocation is already tested in "test-histedit-fold.t". diff -r 47bfe5d433ac -r 6a48713cb72e hgext/histedit.py --- a/hgext/histedit.py Sun May 11 00:49:35 2014 +0900 +++ b/hgext/histedit.py Sun May 11 00:49:35 2014 +0900 @@ -299,7 +299,7 @@ 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):