tests/test-histedit-arguments.t
changeset 19043 7d27d80185f0
parent 19042 52366b37f897
child 19044 f77c23ec09f7
--- a/tests/test-histedit-arguments.t	Thu Apr 18 13:49:32 2013 +0200
+++ b/tests/test-histedit-arguments.t	Thu Apr 18 13:50:59 2013 +0200
@@ -102,6 +102,17 @@
   abort: malformed line "pickeb57da33312f2three"
   [255]
 
+Test unknown changeset
+---------------------------------------
+
+  $ HGEDITOR=cat hg histedit "tip^^" --commands - << EOF
+  > pick 0123456789ab 2 three
+  > pick c8e68270e35a 3 four
+  > pick 08d98a8350f3 4 five
+  > EOF
+  abort: unknown changeset 0123456789ab listed
+  [255]
+
 Test short version of command
 ---------------------------------------