tests/test-histedit-edit.t
changeset 24299 68d998a76994
parent 24196 c3d13202144d
child 24626 e767f5aba810
--- a/tests/test-histedit-edit.t	Thu Mar 12 18:18:29 2015 -0700
+++ b/tests/test-histedit-edit.t	Thu Mar 12 21:49:20 2015 -0400
@@ -95,6 +95,13 @@
   $ hg ci -m 'wat'
   created new head
   $ echo a > e
+
+qnew should fail while we're in the middle of the edit step
+
+  $ hg --config extensions.mq= qnew please-fail
+  abort: histedit in progress
+  (use 'hg histedit --continue' or 'hg histedit --abort')
+  [255]
   $ HGEDITOR='echo foobaz > ' hg histedit --continue 2>&1 | fixbundle
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved