diff tests/test-permissions @ 7099:6f750e76fb46

dirstate.walk: skip unreadable directories (issue1213) Do not abort on permission denied error, just skip the directory.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 15 Oct 2008 14:52:27 +0200
parents b688d264a294
children 0df098871e3d
line wrap: on
line diff
--- a/tests/test-permissions	Wed Oct 15 14:06:46 2008 +0200
+++ b/tests/test-permissions	Wed Oct 15 14:52:27 2008 +0200
@@ -16,3 +16,10 @@
 chmod -w .
 hg diff --nodates
 chmod +w .
+
+chmod +w .hg/store/data/a.i
+mkdir dir
+touch dir/a
+hg status
+chmod -rx dir
+hg status