tests/test-remove-new.t
changeset 12100 4d6bb7615564
parent 11346 e740f36cfb4b
child 12156 4c94b6d0fb1c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-remove-new.t	Mon Aug 30 13:08:18 2010 +0900
@@ -0,0 +1,13 @@
+test that 'hg commit' does not crash if the user removes a newly added file
+
+  $ hg init
+  $ echo This is file a1 > a
+  $ hg add a
+  $ hg commit -m "commit #0" -d "1000000 0"
+  $ touch b
+  $ hg add b
+  $ rm b
+  $ hg commit -A -m"comment #1" -d "1000000 0"
+  removing b
+  nothing changed
+  $ exit 0