tests: add tests with commands.{update,rebase}.requiredest=False
This shows how rebase is currently broken with
commands.rebase.requiredest=False.
--- a/tests/test-rebase-base.t Sun Mar 12 12:33:35 2017 -0700
+++ b/tests/test-rebase-base.t Fri Mar 24 16:20:04 2017 -0700
@@ -417,3 +417,8 @@
$ HGPLAIN=1 hg rebase
rebasing 2:889b0bc6a730 "cc" (tip)
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]
--- a/tests/test-update-names.t Sun Mar 12 12:33:35 2017 -0700
+++ b/tests/test-update-names.t Fri Mar 24 16:20:04 2017 -0700
@@ -106,3 +106,5 @@
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ HGPLAIN=1 hg up
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ $ hg --config commands.update.requiredest=False up
+ 0 files updated, 0 files merged, 0 files removed, 0 files unresolved