tests/test-remove
changeset 9572 1f665246dab3
parent 6358 7cb9af02e250
child 12129 07ac2a560fce
--- a/tests/test-remove	Wed Oct 07 18:52:01 2009 +0200
+++ b/tests/test-remove	Thu Oct 08 23:32:36 2009 +0200
@@ -108,3 +108,12 @@
 echo % dir, options -Af
 rm test/bar
 remove -Af test
+
+echo 'test remove dropping empty trees (issue1861)'
+mkdir -p issue1861/b/c
+echo x > issue1861/x
+echo y > issue1861/b/c/y
+hg ci -Am add
+hg rm issue1861/b
+hg ci -m remove
+ls issue1861