##// END OF EJS Templates
rebase: don't require destination if commands.rebase.requiredest=False
Martin von Zweigbergk -
r31621:b2697548 default
parent child Browse files
Show More
@@ -686,7 +686,7 b' def rebase(ui, repo, **opts):'
686 686 # Validate input and define rebasing points
687 687 destf = opts.get('dest', None)
688 688
689 if ui.config('commands', 'rebase.requiredest'):
689 if ui.configbool('commands', 'rebase.requiredest'):
690 690 if not destf:
691 691 raise error.Abort(_('you must specify a destination'),
692 692 hint=_('use: hg rebase -d REV'))
@@ -419,6 +419,5 b' Require a destination'
419 419 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/889b0bc6a730-41ec4f81-backup.hg (glob)
420 420 $ hg rebase -d 0 -r . -q
421 421 $ hg --config commands.rebase.requiredest=False rebase
422 abort: you must specify a destination
423 (use: hg rebase -d REV)
424 [255]
422 rebasing 2:279de9495438 "cc" (tip)
423 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/279de9495438-ab0a5128-backup.hg (glob)
General Comments 0
You need to be logged in to leave comments. Login now