Mercurial > hg
diff tests/test-convert-mtn @ 6402:d1cf40b596f8
Merge with crew-stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 29 Mar 2008 17:27:35 +0100 |
parents | 18eeabae6148 |
children | 67a2d2d9bf21 |
line wrap: on
line diff
--- a/tests/test-convert-mtn Fri Mar 28 19:47:22 2008 +0100 +++ b/tests/test-convert-mtn Sat Mar 29 17:27:35 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