##// END OF EJS Templates
tests: stabilize `test-status-eacces.t` on Windows...
Matt Harbison -
r52846:fdb1971b default
parent child Browse files
Show More
@@ -1,45 +1,47
1 #testcases dirstate-v1 dirstate-v2
1 #testcases dirstate-v1 dirstate-v2
2
2
3 #if dirstate-v2
3 #if dirstate-v2
4 $ cat >> $HGRCPATH << EOF
4 $ cat >> $HGRCPATH << EOF
5 > [format]
5 > [format]
6 > use-dirstate-v2=1
6 > use-dirstate-v2=1
7 > [storage]
7 > [storage]
8 > dirstate-v2.slow-path=allow
8 > dirstate-v2.slow-path=allow
9 > EOF
9 > EOF
10 #endif
10 #endif
11
11
12
12
13 The proliferation of status implementations can be confusing:
13 The proliferation of status implementations can be confusing:
14 - The pure python implementation:
14 - The pure python implementation:
15 (no-rhg pure !)
15 (no-rhg pure !)
16 - The C implementation:
16 - The C implementation:
17 (no-rhg no-rust no-pure !)
17 (no-rhg no-rust no-pure !)
18 - The two rust implementations:
18 - The two rust implementations:
19 (rhg !)
19 (rhg !)
20 (no-rhg rust !)
20 (no-rhg rust !)
21
21
22 $ hg init repo1
22 $ hg init repo1
23 $ cd repo1
23 $ cd repo1
24 $ mkdir d1
24 $ mkdir d1
25 $ touch d1/x
25 $ touch d1/x
26 $ hg commit -Am.
26 $ hg commit -Am.
27 adding d1/x
27 adding d1/x
28 $ touch d1/y
28 $ touch d1/y
29 $ chmod -r d1
29 $ chmod -r d1
30 $ hg status
30 $ hg status
31 d1: $EACCES$
31 d1: $EACCES$ (unix-permissions !)
32 ! d1/x (rhg !)
32 ! d1/x (rhg !)
33 ! d1/x (no-rhg rust !)
33 ! d1/x (no-rhg rust !)
34 ? d1/y (no-unix-permissions !)
34 $ hg status
35 $ hg status
35 d1: $EACCES$
36 d1: $EACCES$ (unix-permissions !)
36 ! d1/x (rust !)
37 ! d1/x (rust !)
37 ! d1/x (no-rust rhg !)
38 ! d1/x (no-rust rhg !)
39 ? d1/y (no-unix-permissions !)
38 $ chmod +r d1
40 $ chmod +r d1
39 $ hg status
41 $ hg status
40 ? d1/y
42 ? d1/y
41
43
42 $ touch d1/z
44 $ touch d1/z
43 $ hg status
45 $ hg status
44 ? d1/y
46 ? d1/y
45 ? d1/z
47 ? d1/z
General Comments 0
You need to be logged in to leave comments. Login now