--- a/hgext/rebase.py Fri Mar 24 16:20:04 2017 -0700
+++ b/hgext/rebase.py Fri Mar 24 16:20:10 2017 -0700
@@ -686,7 +686,7 @@
# Validate input and define rebasing points
destf = opts.get('dest', None)
- if ui.config('commands', 'rebase.requiredest'):
+ if ui.configbool('commands', 'rebase.requiredest'):
if not destf:
raise error.Abort(_('you must specify a destination'),
hint=_('use: hg rebase -d REV'))
--- a/tests/test-rebase-base.t Fri Mar 24 16:20:04 2017 -0700
+++ b/tests/test-rebase-base.t Fri Mar 24 16:20:10 2017 -0700
@@ -419,6 +419,5 @@
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/889b0bc6a730-41ec4f81-backup.hg (glob)
$ hg rebase -d 0 -r . -q
$ hg --config commands.rebase.requiredest=False rebase
- abort: you must specify a destination
- (use: hg rebase -d REV)
- [255]
+ rebasing 2:279de9495438 "cc" (tip)
+ saved backup bundle to $TESTTMP/repo/.hg/strip-backup/279de9495438-ab0a5128-backup.hg (glob)