hgext/rebase.py
changeset 31621 b26975483841
parent 31619 91ddb33deea5
child 31731 b5afec71c1f9
--- 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'))