Submitter | Katsunori FUJIWARA |
---|---|
Date | May 10, 2014, 4:08 p.m. |
Message ID | <c391c15248f4aa358975.1399738126@feefifofum> |
Download | mbox | patch |
Permalink | /patch/4713/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2051,12 +2051,10 @@ user = opts.get('user') or old.user() date = opts.get('date') or old.date() - editor = commiteditor + editor = getcommiteditor(**opts) if not message: - editor = commitforceeditor + editor = getcommiteditor(edit=True) message = old.description() - elif opts.get('edit'): - editor = commitforceeditor pureextra = extra.copy() extra['amend_source'] = old.hex()