comparison hgext/histedit.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 99125b7fb93e
children 25cec00b333c
comparison
equal deleted inserted replaced
41205:3f807237dc94 41206:6acbe86c6490
1678 opts = pycompat.byteskwargs(opts) 1678 opts = pycompat.byteskwargs(opts)
1679 fm = ui.formatter('histedit', opts) 1679 fm = ui.formatter('histedit', opts)
1680 fm.startitem() 1680 fm.startitem()
1681 goal = _getgoal(opts) 1681 goal = _getgoal(opts)
1682 revs = opts.get('rev', []) 1682 revs = opts.get('rev', [])
1683 # experimental config: ui.history-editing-backup 1683 # experimental config: rewrite.backup-bundle
1684 nobackup = not ui.configbool('ui', 'history-editing-backup') 1684 nobackup = not ui.configbool('rewrite', 'backup-bundle')
1685 rules = opts.get('commands', '') 1685 rules = opts.get('commands', '')
1686 state.keep = opts.get('keep', False) 1686 state.keep = opts.get('keep', False)
1687 1687
1688 _validateargs(ui, repo, state, freeargs, opts, goal, rules, revs) 1688 _validateargs(ui, repo, state, freeargs, opts, goal, rules, revs)
1689 1689