Mercurial > public > mercurial-scm > hg-stable
diff tests/test-largefiles.t @ 15930:2dc599583ebe
largefiles: test and simplify empty directory removal in remove
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 19 Jan 2012 10:07:13 +0100 |
parents | c96148346af8 |
children | f19d5c852f9b |
line wrap: on
line diff
--- a/tests/test-largefiles.t Thu Jan 19 02:14:06 2012 +0100 +++ b/tests/test-largefiles.t Thu Jan 19 10:07:13 2012 +0100 @@ -556,6 +556,14 @@ [1] $ hg update -q +Test hg remove removes empty largefiles directories + $ test -d sub2 && echo "sub2 exists" + sub2 exists + $ hg remove sub2/* + $ test -d sub2 && echo "error: sub2 should not exist anymore" + [1] + $ hg revert sub2/large6 sub2/large7 + "revert" works on largefiles (and normal files too). $ echo hack3 >> normal3 $ echo hack4 >> sub/normal4