--- a/tests/test-largefiles-cache.t Thu Feb 23 13:22:55 2012 +0100
+++ b/tests/test-largefiles-cache.t Thu Feb 23 13:37:10 2012 +0100
@@ -94,3 +94,12 @@
$ hg commit -m change
$ ../ls-l.py .hg/largefiles/e151b474069de4ca6898f67ce2f2a7263adf8fea
640
+
+Test permission of with files in .hg/largefiles created by update:
+
+ $ cd ../mirror
+ $ rm -r "$USERCACHE" .hg/largefiles # avoid links
+ $ chmod 750 .hg/store
+ $ hg pull ../src --update -q
+ $ ../ls-l.py .hg/largefiles/e151b474069de4ca6898f67ce2f2a7263adf8fea
+ 640