tests/test-largefiles.t
changeset 15930 2dc599583ebe
parent 15916 c96148346af8
child 15944 f19d5c852f9b
--- 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