Show More
@@ -23,9 +23,7 b' test-largefiles-wireproto.t' | |||||
23 | test-largefiles.t |
|
23 | test-largefiles.t | |
24 | test-lfconvert.t |
|
24 | test-lfconvert.t | |
25 | test-nested-repo.t |
|
25 | test-nested-repo.t | |
26 | test-permissions.t |
|
|||
27 | test-push-warn.t |
|
26 | test-push-warn.t | |
28 | test-subrepo-deep-nested-change.t |
|
27 | test-subrepo-deep-nested-change.t | |
29 | test-subrepo-recursion.t |
|
28 | test-subrepo-recursion.t | |
30 | test-subrepo.t |
|
29 | test-subrepo.t | |
31 | test-tags.t |
|
@@ -61,10 +61,17 b'' | |||||
61 | M a |
|
61 | M a | |
62 | ? dir/a |
|
62 | ? dir/a | |
63 | $ chmod -rx dir |
|
63 | $ chmod -rx dir | |
|
64 | ||||
|
65 | #if no-fsmonitor | |||
|
66 | ||||
|
67 | (fsmonitor makes "hg status" avoid accessing to "dir") | |||
|
68 | ||||
64 | $ hg status |
|
69 | $ hg status | |
65 | dir: Permission denied |
|
70 | dir: Permission denied | |
66 | M a |
|
71 | M a | |
67 |
|
72 | |||
|
73 | #endif | |||
|
74 | ||||
68 | Reenable perm to allow deletion: |
|
75 | Reenable perm to allow deletion: | |
69 |
|
76 | |||
70 | $ chmod +rx dir |
|
77 | $ chmod +rx dir |
@@ -118,13 +118,17 b' Repeat with cold tag cache:' | |||||
118 |
|
118 | |||
119 | And again, but now unable to write tag cache or lock file: |
|
119 | And again, but now unable to write tag cache or lock file: | |
120 |
|
120 | |||
121 | #if unix-permissions |
|
121 | #if unix-permissions no-fsmonitor | |
|
122 | ||||
122 | $ rm -f .hg/cache/tags2-visible .hg/cache/hgtagsfnodes1 |
|
123 | $ rm -f .hg/cache/tags2-visible .hg/cache/hgtagsfnodes1 | |
123 | $ chmod 555 .hg/cache |
|
124 | $ chmod 555 .hg/cache | |
124 | $ hg identify |
|
125 | $ hg identify | |
125 | b9154636be93 tip |
|
126 | b9154636be93 tip | |
126 | $ chmod 755 .hg/cache |
|
127 | $ chmod 755 .hg/cache | |
127 |
|
128 | |||
|
129 | (this block should be protected by no-fsmonitor, because "chmod 555 .hg" | |||
|
130 | makes watchman fail at accessing to files under .hg) | |||
|
131 | ||||
128 | $ chmod 555 .hg |
|
132 | $ chmod 555 .hg | |
129 | $ hg identify |
|
133 | $ hg identify | |
130 | b9154636be93 tip |
|
134 | b9154636be93 tip |
General Comments 0
You need to be logged in to leave comments.
Login now