D3887: rebase: support "history-editing-backup" config option
Yuya Nishihara
yuya at tcha.org
Thu Aug 2 13:49:37 UTC 2018
Queued, thanks.
> @@ -829,6 +833,8 @@
> userrevs = list(repo.revs(opts.get('auto_orphans')))
> opts['rev'] = [revsetlang.formatspec('%ld and orphan()', userrevs)]
> opts['dest'] = '_destautoorphanrebase(SRC)'
> + backup = ui.configbool('ui', 'history-editing-backup')
> + opts['backup'] = backup
This seems getting ugly. Maybe the option can be carried by rbsrt instead?
```
self.backupf = ui.configbool('ui', 'history-editing-backup')
```
More information about the Mercurial-devel
mailing list