diff tests/test-remove.t @ 16904:9d0f988364bd

test-remove-new: integrate into test-remove.t
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 10 Jun 2012 18:28:42 +0200
parents 9910f60a37ee
children f2719b387380
line wrap: on
line diff
--- 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]