--- a/tests/test-histedit-edit.t Thu Oct 22 13:31:34 2020 -0700
+++ b/tests/test-histedit-edit.t Mon Oct 12 12:44:18 2020 -0700
@@ -63,7 +63,7 @@
$ hg histedit 177f92b77385 --commands - 2>&1 << EOF
> EOF
abort: uncommitted changes
- [255]
+ [20]
$ echo g > g
edit the history
@@ -82,7 +82,7 @@
$ hg update tip
abort: histedit in progress
(use 'hg histedit --continue' or 'hg histedit --abort')
- [255]
+ [20]
edit the plan via the editor
$ cat >> $TESTTMP/editplan.sh <<EOF
@@ -136,7 +136,7 @@
$ hg up 0
abort: histedit in progress
(use 'hg histedit --continue' or 'hg histedit --abort')
- [255]
+ [20]
Try to delete necessary commit
$ hg strip -r 652413b
@@ -153,7 +153,7 @@
$ hg --config extensions.mq= qnew please-fail
abort: histedit in progress
(use 'hg histedit --continue' or 'hg histedit --abort')
- [255]
+ [20]
$ HGEDITOR='echo foobaz > ' hg histedit --continue 2>&1 | fixbundle
$ hg log --graph