Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 41206:6acbe86c6490
repair: move ui.history-editing-backup to [rewrite] section
Since we have the "rewrite" section for general history-editing options, the
backup option should be there.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 12 Jan 2019 17:43:36 +0900 |
parents | 4145fd3569c3 |
children | 4ea21df312ec 876494fd967d |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Wed Jan 09 19:54:01 2019 -0800 +++ b/mercurial/cmdutil.py Sat Jan 12 17:43:36 2019 +0900 @@ -2588,7 +2588,7 @@ obsmetadata = None if opts.get('note'): obsmetadata = {'note': encoding.fromlocal(opts['note'])} - backup = ui.configbool('ui', 'history-editing-backup') + backup = ui.configbool('rewrite', 'backup-bundle') scmutil.cleanupnodes(repo, mapping, 'amend', metadata=obsmetadata, fixphase=True, targetphase=commitphase, backup=backup)