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