--- a/tests/test-remove-new.t Sun Jun 10 17:35:09 2012 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-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"
- $ touch b
- $ hg add b
- $ rm b
- $ hg commit -A -m"comment #1"
- removing b
- nothing changed
- [1]
--- 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]