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