changeset 22249 | f5ff18f65b73 |
parent 22248 | 75618a223e18 |
child 22250 | f3200bf460a8 |
--- a/mercurial/cmdutil.py Sat Aug 16 10:43:59 2014 +0900 +++ b/mercurial/cmdutil.py Sat Aug 16 10:43:59 2014 +0900 @@ -2133,7 +2133,7 @@ user = opts.get('user') or old.user() date = opts.get('date') or old.date() - editform = 'commit.amend' + editform = mergeeditform(old, 'commit.amend') editor = getcommiteditor(editform=editform, **opts) if not message: editor = getcommiteditor(edit=True, editform=editform)