tests/test-remove-new
changeset 11346 e740f36cfb4b
parent 11177 6a64813276ed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-remove-new	Mon Jun 14 13:39:00 2010 -0400
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# 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"
+exit 0