[PATCH] test-remove-new: integrate into test-remove.t
Adrian Buehlmann
adrian at cadifra.com
Sun Jun 10 11:32:28 CDT 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339345722 -7200
# Node ID 9d0f988364bdaac503ee2d52ad310882dce0809d
# Parent a1a57d3fe0ebe70e983715ee6dac474b841c149c
test-remove-new: integrate into test-remove.t
diff --git a/tests/test-remove-new.t b/tests/test-remove-new.t
deleted file mode 100644
--- a/tests/test-remove-new.t
+++ /dev/null
@@ -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]
diff --git a/tests/test-remove.t b/tests/test-remove.t
--- a/tests/test-remove.t
+++ b/tests/test-remove.t
@@ -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]
More information about the Mercurial-devel
mailing list