Mercurial > hg
changeset 21408:6a48713cb72e
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".
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sun, 11 May 2014 00:49:35 +0900 |
parents | 47bfe5d433ac |
children | 37a3ac247c0d |
files | hgext/histedit.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):