tests/test-rebase-abort.t
changeset 42613 35ebdbb38efb
parent 42583 b9bc47211cf5
child 44347 9c9cfecd4600
--- a/tests/test-rebase-abort.t	Mon Jul 15 22:23:31 2019 +0530
+++ b/tests/test-rebase-abort.t	Tue Jul 16 01:59:28 2019 +0530
@@ -1,4 +1,5 @@
 #testcases abortcommand abortflag
+#testcases continuecommand continueflag
 
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
@@ -18,6 +19,13 @@
   > EOF
 #endif
 
+#if continueflag
+  $ cat >> $HGRCPATH <<EOF
+  > [alias]
+  > continue = rebase --continue
+  > EOF
+#endif
+
   $ hg init a
   $ cd a
 
@@ -162,7 +170,7 @@
   $ hg --config extensions.mq= strip --quiet "destination()"
   $ mv .hg/rebasestate.back .hg/rebasestate
 
-  $ hg rebase --continue
+  $ hg continue
   abort: cannot continue inconsistent rebase
   (use "hg rebase --abort" to clear broken state)
   [255]