--- a/tests/test-evolve-abort-phasediv.t Fri Jul 12 23:43:25 2019 +0530
+++ b/tests/test-evolve-abort-phasediv.t Thu Jul 11 22:56:46 2019 +0530
@@ -10,6 +10,7 @@
Setup
=====
+#testcases abortcommand abortflag
$ cat >> $HGRCPATH <<EOF
> [phases]
> publish = False
@@ -19,6 +20,13 @@
> EOF
$ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
+#if abortflag
+ $ cat >> $HGRCPATH <<EOF
+ > [alias]
+ > abort = evolve --abort
+ > EOF
+#endif
+
$ hg init abortrepo
$ cd abortrepo
$ echo ".*\.orig" > .hgignore
@@ -124,7 +132,7 @@
summary: added d
- $ hg evolve --abort
+ $ hg abort
evolve aborted
working directory is now at ddba58020bc0
@@ -218,7 +226,7 @@
(see 'hg help evolve.interrupted')
[1]
- $ hg evolve --abort
+ $ hg abort
1 new phase-divergent changesets
evolve aborted
working directory is now at 28cd06b3f801
@@ -304,7 +312,7 @@
(see 'hg help evolve.interrupted')
[1]
- $ hg evolve --abort
+ $ hg abort
1 new phase-divergent changesets
evolve aborted
working directory is now at ef9b72b9b42c