tests/test-histedit-arguments.t
changeset 19047 81de87f8b480
parent 19044 f77c23ec09f7
child 19048 1163ff06ce89
--- a/tests/test-histedit-arguments.t	Thu Apr 18 15:13:35 2013 +0200
+++ b/tests/test-histedit-arguments.t	Thu Apr 18 15:22:24 2013 +0200
@@ -124,6 +124,19 @@
   abort: unknown action "coin"
   [255]
 
+Test duplicated changeset
+---------------------------------------
+
+So one is missing and one appear twice.
+
+  $ HGEDITOR=cat hg histedit "tip^^" --commands - << EOF
+  > pick eb57da33312f 2 three
+  > pick eb57da33312f 2 three
+  > pick 08d98a8350f3 4 five
+  > EOF
+  abort: duplicated command for changeset eb57da33312f
+  [255]
+
 Test short version of command
 ---------------------------------------