Show More
@@ -0,0 +1,35 b'' | |||||
|
1 | #testcases dirstate-v1 dirstate-v2 | |||
|
2 | ||||
|
3 | #if dirstate-v2 | |||
|
4 | $ cat >> $HGRCPATH << EOF | |||
|
5 | > [format] | |||
|
6 | > use-dirstate-v2=1 | |||
|
7 | > [storage] | |||
|
8 | > dirstate-v2.slow-path=allow | |||
|
9 | > EOF | |||
|
10 | #endif | |||
|
11 | ||||
|
12 | $ rm -rf r | |||
|
13 | ||||
|
14 | $ hg init r | |||
|
15 | $ cd r | |||
|
16 | $ mkdir d1 | |||
|
17 | $ mkdir d2 | |||
|
18 | $ touch d1/f d2/f | |||
|
19 | $ hg commit -Am '.' | |||
|
20 | adding d1/f | |||
|
21 | adding d2/f | |||
|
22 | $ echo 'syntax:re' >> .hgignore | |||
|
23 | $ echo '^d1$' >> .hgignore | |||
|
24 | $ hg commit -Am "ignore d1" | |||
|
25 | adding .hgignore | |||
|
26 | ||||
|
27 | Now d1 is a directory that's both committed and ignored. | |||
|
28 | Untracked files in d2 are still shown, but ones in d1 are ignored: | |||
|
29 | ||||
|
30 | $ touch d1/g | |||
|
31 | $ touch d2/g | |||
|
32 | $ RAYON_NUM_THREADS=1 hg status | |||
|
33 | ? d2/g (no-rust no-rhg !) | |||
|
34 | ||||
|
35 | ^ BUG: d2/g does not show up with rust status |
General Comments 0
You need to be logged in to leave comments.
Login now