tests/test-remove.t
changeset 16904 9d0f988364bd
parent 15447 9910f60a37ee
child 16913 f2719b387380
--- a/tests/test-remove.t	Sun Jun 10 17:35:09 2012 +0200
+++ b/tests/test-remove.t	Sun Jun 10 18:28:42 2012 +0200
@@ -254,3 +254,13 @@
   $ hg ci -m remove
   $ ls issue1861
   x
+
+test that commit does not crash if the user removes a newly added file
+
+  $ touch f1
+  $ hg add f1
+  $ rm f1
+  $ hg ci -A -mx
+  removing f1
+  nothing changed
+  [1]