Show More
@@ -1,17 +1,40 b'' | |||
|
1 |
Test dirstate._dirs refcounting |
|
|
1 | ------ Test dirstate._dirs refcounting | |
|
2 | 2 | |
|
3 | 3 |
$ |
|
4 | 4 | $ cd t |
|
5 | 5 | $ mkdir -p a/b/c/d |
|
6 | 6 | $ touch a/b/c/d/x |
|
7 | 7 | $ touch a/b/c/d/y |
|
8 | 8 | $ touch a/b/c/d/z |
|
9 | 9 | $ hg ci -Am m |
|
10 | 10 | adding a/b/c/d/x |
|
11 | 11 | adding a/b/c/d/y |
|
12 | 12 | adding a/b/c/d/z |
|
13 | 13 | $ hg mv a z |
|
14 | 14 | moving a/b/c/d/x to z/b/c/d/x |
|
15 | 15 | moving a/b/c/d/y to z/b/c/d/y |
|
16 | 16 | moving a/b/c/d/z to z/b/c/d/z |
|
17 | $ cd .. | |
|
17 | 18 | |
|
19 | ------ issue1790 | |
|
20 | ||
|
21 | Prepare test repo: | |
|
22 | ||
|
23 | $ hg init u | |
|
24 | $ cd u | |
|
25 | $ echo a > a | |
|
26 | $ hg add | |
|
27 | adding a | |
|
28 | $ hg ci -m1 | |
|
29 | ||
|
30 | Set mtime of a into the future: | |
|
31 | ||
|
32 | $ touch -t 202101011200 a | |
|
33 | ||
|
34 | Status must not set a's entry to unset (issue1790): | |
|
35 | ||
|
36 | $ hg status | |
|
37 | $ hg debugstate | |
|
38 | n 644 2 2021-01-01 12:00:00 a | |
|
39 | $ cd .. | |
|
40 |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now