tests/test-histedit-arguments.t
changeset 27547 1cbfeb1dc5aa
parent 27545 a67d2e059a51
child 27629 e7ff83b2bcfe
--- a/tests/test-histedit-arguments.t	Wed Dec 23 23:23:28 2015 +0000
+++ b/tests/test-histedit-arguments.t	Wed Dec 23 23:51:29 2015 +0000
@@ -219,6 +219,17 @@
   hg: parse error: duplicated command for changeset eb57da33312f
   [255]
 
+Test bogus rev
+---------------------------------------
+
+  $ HGEDITOR=cat hg histedit "tip^^" --commands - << EOF
+  > pick eb57da33312f 2 three
+  > pick 0
+  > pick 08d98a8350f3 4 five
+  > EOF
+  hg: parse error: invalid changeset 0
+  [255]
+
 Test short version of command
 ---------------------------------------