--- a/tests/test-histedit-no-backup.t Sun Jun 23 23:11:35 2019 +0530
+++ b/tests/test-histedit-no-backup.t Fri Jun 28 00:35:52 2019 +0530
@@ -1,3 +1,12 @@
+#testcases abortcommand abortflag
+
+#if abortflag
+ $ cat >> $HGRCPATH <<EOF
+ > [alias]
+ > abort = histedit --abort
+ > EOF
+#endif
+
$ . "$TESTDIR/histedit-helpers.sh"
Enable extension used by this test
@@ -44,7 +53,7 @@
Editing (7d5187087c79), you may commit or record as needed now.
(hg histedit --continue to resume)
[1]
- $ hg histedit --abort
+ $ hg abort
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
saved backup bundle to $TESTTMP/foo/.hg/strip-backup/1d8f701c7b35-cf7be322-backup.hg
saved backup bundle to $TESTTMP/foo/.hg/strip-backup/5c0056670bce-b54b65d0-backup.hg
@@ -66,5 +75,6 @@
Editing (7d5187087c79), you may commit or record as needed now.
(hg histedit --continue to resume)
[1]
- $ hg histedit --abort
+
+ $ hg abort
1 files updated, 0 files merged, 0 files removed, 0 files unresolved