Mercurial > hg
diff tests/test-convert-mtn @ 6396:18eeabae6148
test-convert-mtn: test directory deletion
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 29 Mar 2008 17:14:47 +0100 |
parents | 2cf67d007f41 |
children | 67a2d2d9bf21 |
line wrap: on
line diff
--- a/tests/test-convert-mtn Mon Mar 24 18:05:30 2008 -0500 +++ b/tests/test-convert-mtn Sat Mar 29 17:14:47 2008 +0100 @@ -58,6 +58,15 @@ # Test directory move mtn mv dir dir2 mtn ci -m movedir +# Test directory removal with empty directory +mkdir dir2/dir +mkdir dir2/dir/subdir +echo f > dir2/dir/subdir/f +mkdir dir2/dir/emptydir +mtn add -R dir2/dir +mtn ci -m emptydir +mtn drop -R dir2/dir +mtn ci -m dropdirectory cd .. echo % convert incrementally @@ -75,4 +84,6 @@ hg manifest echo % contents cat dir2/a +test -d dir2/dir && echo 'removed dir2/dir is still there!' +exit 0