comparison hgext/rebase.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 4edd427f34c1
children 876494fd967d 25fc5b96d1c3
comparison
equal deleted inserted replaced
41205:3f807237dc94 41206:6acbe86c6490
175 e = opts.get('extrafn') # internal, used by e.g. hgsubversion 175 e = opts.get('extrafn') # internal, used by e.g. hgsubversion
176 self.extrafns = [_savegraft] 176 self.extrafns = [_savegraft]
177 if e: 177 if e:
178 self.extrafns = [e] 178 self.extrafns = [e]
179 179
180 self.backupf = ui.configbool('ui', 'history-editing-backup') 180 self.backupf = ui.configbool('rewrite', 'backup-bundle')
181 self.keepf = opts.get('keep', False) 181 self.keepf = opts.get('keep', False)
182 self.keepbranchesf = opts.get('keepbranches', False) 182 self.keepbranchesf = opts.get('keepbranches', False)
183 self.obsoletenotrebased = {} 183 self.obsoletenotrebased = {}
184 self.obsoletewithoutsuccessorindestination = set() 184 self.obsoletewithoutsuccessorindestination = set()
185 self.inmemory = inmemory 185 self.inmemory = inmemory