##// END OF EJS Templates
tests: simplify a bit
Arseniy Alekseyev -
r51218:86d2a28c stable
parent child Browse files
Show More
@@ -1,49 +1,45
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$
32 ! d1/x (rhg !)
32 ! d1/x (rhg !)
33 ! d1/x (no-rhg rust !)
33 ! d1/x (no-rhg rust !)
34 $ hg status
34 $ hg status
35 d1: $EACCES$ (rhg !)
35 d1: $EACCES$
36 d1: $EACCES$ (no-rhg rust !)
37 d1: $EACCES$ (no-rust no-rhg !)
38 ! d1/x (rust !)
36 ! d1/x (rust !)
39 ! d1/x (no-rust rhg !)
37 ! d1/x (no-rust rhg !)
40 $ chmod +r d1
38 $ chmod +r d1
41 $ hg status
39 $ hg status
42 ? d1/y (rhg !)
40 ? d1/y
43 ? d1/y (no-rhg rust !)
44 ? d1/y (no-rhg no-rust !)
45
41
46 $ touch d1/z
42 $ touch d1/z
47 $ hg status
43 $ hg status
48 ? d1/y
44 ? d1/y
49 ? d1/z
45 ? d1/z
General Comments 0
You need to be logged in to leave comments. Login now