changeset 31733 | ae6bab095c66 |
parent 31731 | b5afec71c1f9 |
child 32083 | 1c911adebf48 |
--- a/hgext/rebase.py Thu Mar 30 03:50:10 2017 -0700 +++ b/hgext/rebase.py Thu Mar 30 03:50:10 2017 -0700 @@ -1362,6 +1362,11 @@ 'Call rebase after pull if the latter has been invoked with --rebase' ret = None if opts.get('rebase'): + if ui.configbool('commands', 'rebase.requiredest'): + msg = _('rebase destination required by configuration') + hint = _('use hg pull followed by hg rebase -d DEST') + raise error.Abort(msg, hint=hint) + wlock = lock = None try: wlock = repo.wlock()