diff tests/test-rebase-inmemory.t @ 43927:905b21783968

rebase: use cmdutil.check_incompatible_arguments() for action+confirm/dryrun Differential Revision: https://phab.mercurial-scm.org/D7661
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 13 Dec 2019 14:50:42 -0800
parents b56c6647f65e
children ab33782deb84
line wrap: on
line diff
--- a/tests/test-rebase-inmemory.t	Fri Dec 13 14:49:48 2019 -0800
+++ b/tests/test-rebase-inmemory.t	Fri Dec 13 14:50:42 2019 -0800
@@ -332,10 +332,10 @@
   
 Make sure it throws error while passing --continue or --abort with --dry-run
   $ hg rebase -s 2 -d 6 -n --continue
-  abort: cannot specify both --dry-run and --continue
+  abort: cannot specify both --continue and --dry-run
   [255]
   $ hg rebase -s 2 -d 6 -n --abort
-  abort: cannot specify both --dry-run and --abort
+  abort: cannot specify both --abort and --dry-run
   [255]
 
 Check dryrun gives correct results when there is no conflict in rebasing
@@ -548,10 +548,10 @@
   abort: cannot specify both --confirm and --dry-run
   [255]
   $ hg rebase -s 2 -d . --confirm --abort
-  abort: cannot specify both --confirm and --abort
+  abort: cannot specify both --abort and --confirm
   [255]
   $ hg rebase -s 2 -d . --confirm --continue
-  abort: cannot specify both --confirm and --continue
+  abort: cannot specify both --continue and --confirm
   [255]
 
 Test --confirm option when there are no conflicts: