diff tests/test-graft-interrupted.t @ 45009:7d494425167c

graft: leverage cmdutil.check_at_most_one_arg() for --abort/--stop/--continue Differential Revision: https://phab.mercurial-scm.org/D8667
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 25 Jun 2020 13:27:37 -0700
parents 16c361152133
children c63a297fb964
line wrap: on
line diff
--- a/tests/test-graft-interrupted.t	Sat Jun 27 21:45:20 2020 -0400
+++ b/tests/test-graft-interrupted.t	Thu Jun 25 13:27:37 2020 -0700
@@ -249,7 +249,7 @@
   [1]
 
   $ hg graft --stop --continue
-  abort: cannot use '--continue' and '--stop' together
+  abort: cannot specify both --stop and --continue
   [255]
 
   $ hg graft --stop -U
@@ -355,11 +355,11 @@
   [1]
 
   $ hg graft --continue --abort
-  abort: cannot use '--continue' and '--abort' together
+  abort: cannot specify both --abort and --continue
   [255]
 
   $ hg graft --abort --stop
-  abort: cannot use '--abort' and '--stop' together
+  abort: cannot specify both --abort and --stop
   [255]
 
   $ hg graft --abort --currentuser