diff tests/test-histedit-base.t @ 27545:a67d2e059a51

histedit: use parse-error exception for parsing
author timeless <timeless@mozdev.org>
date Sun, 27 Dec 2015 03:33:09 +0000
parents 11be6b7f95da
children dcbba68e076f
line wrap: on
line diff
--- a/tests/test-histedit-base.t	Fri Dec 11 07:08:36 2015 +0000
+++ b/tests/test-histedit-base.t	Sun Dec 27 03:33:09 2015 +0000
@@ -229,7 +229,7 @@
   > base d273e35dcdf2 B
   > pick b2f90fd8aa85 I
   > EOF
-  abort: may not use "base" with changesets within the edited list
+  hg: parse error: may not use "base" with changesets within the edited list
 
   $ hg --config experimental.histeditng=False histedit 5 --commands - 2>&1 << EOF | fixbundle
   > base cd010b8cd998 A
@@ -238,7 +238,7 @@
   > pick b2f90fd8aa85 I
   > pick e8c55b19d366 J
   > EOF
-  abort: unknown action "base"
+  hg: parse error: unknown action "base"
 
   $ hg tglog
   @  8:e8c55b19d366b335626e805484110d1d5f6f2ea3:draft 'J'