diff tests/test-remove @ 9572:1f665246dab3

windows: fix unlink() not dropping empty tree (issue1861)
author Patrick Mezard <pmezard@gmail.com>
date Thu, 08 Oct 2009 23:32:36 +0200
parents 7cb9af02e250
children 07ac2a560fce
line wrap: on
line diff
--- 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