diff tests/test-rebase-obsolete.t @ 43899:fff21278554b

rebase: use cmdutil.check_at_most_one_arg() for action Here we also needed to know what the action was (if any), so I've updated the helper to return any specified option. Differential Revision: https://phab.mercurial-scm.org/D7640
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 12 Dec 2019 15:55:33 -0800
parents 34a46d48d24e
children 905b21783968
line wrap: on
line diff
--- a/tests/test-rebase-obsolete.t	Thu Dec 12 22:30:59 2019 -0800
+++ b/tests/test-rebase-obsolete.t	Thu Dec 12 15:55:33 2019 -0800
@@ -2062,7 +2062,7 @@
   (use 'hg rebase --continue' or 'hg rebase --abort')
   [255]
   $ hg rebase --stop --continue
-  abort: cannot use --stop with --continue
+  abort: cannot specify both --stop and --continue
   [255]
 
 Test --stop moves bookmarks of original revisions to new rebased nodes: