tests/test-largefiles.t
changeset 15909 8435fa20dff9
parent 15795 8bed8551d535
parent 15900 29defa7d20f6
child 15916 c96148346af8
--- a/tests/test-largefiles.t	Wed Jan 18 14:56:52 2012 -0600
+++ b/tests/test-largefiles.t	Wed Jan 18 15:07:15 2012 -0600
@@ -546,6 +546,14 @@
   getting changed largefiles
   1 largefiles updated, 0 removed
 
+Test removing empty largefiles directories on update
+  $ test -d sub2 && echo "sub2 exists"
+  sub2 exists
+  $ hg update -q null
+  $ test -d sub2 && echo "error: sub2 should not exist anymore"
+  [1]
+  $ hg update -q
+
 "revert" works on largefiles (and normal files too).
   $ echo hack3 >> normal3
   $ echo hack4 >> sub/normal4