##// END OF EJS Templates
tests: stabilize `test-merge-partial-tool.t` on Windows...
tests: stabilize `test-merge-partial-tool.t` on Windows The test was previously failing because it was opening the shell scripts being used as an executable in a text editor, and problems cascaded from there.

File last commit:

r51218:86d2a28c stable
r52838:4ee2505f default
Show More
test-status-eacces.t
45 lines | 751 B | text/troff | Tads3Lexer
/ tests / test-status-eacces.t
Arseniy Alekseyev
tests: demonstrate a bug in dirstate-v2 handling of errors
r51216 #testcases dirstate-v1 dirstate-v2
#if dirstate-v2
$ cat >> $HGRCPATH << EOF
> [format]
> use-dirstate-v2=1
> [storage]
> dirstate-v2.slow-path=allow
> EOF
#endif
Arseniy Alekseyev
dirstate-v2: fix an incorrect handling of readdir errors...
r51217
Arseniy Alekseyev
tests: demonstrate a bug in dirstate-v2 handling of errors
r51216 The proliferation of status implementations can be confusing:
- The pure python implementation:
(no-rhg pure !)
- The C implementation:
(no-rhg no-rust no-pure !)
- The two rust implementations:
(rhg !)
(no-rhg rust !)
$ hg init repo1
$ cd repo1
$ mkdir d1
$ touch d1/x
$ hg commit -Am.
adding d1/x
$ touch d1/y
$ chmod -r d1
$ hg status
d1: $EACCES$
! d1/x (rhg !)
! d1/x (no-rhg rust !)
$ hg status
Arseniy Alekseyev
tests: simplify a bit
r51218 d1: $EACCES$
Arseniy Alekseyev
dirstate-v2: fix an incorrect handling of readdir errors...
r51217 ! d1/x (rust !)
! d1/x (no-rust rhg !)
Arseniy Alekseyev
tests: demonstrate a bug in dirstate-v2 handling of errors
r51216 $ chmod +r d1
$ hg status
Arseniy Alekseyev
tests: simplify a bit
r51218 ? d1/y
Arseniy Alekseyev
tests: demonstrate a bug in dirstate-v2 handling of errors
r51216
$ touch d1/z
$ hg status
? d1/y
? d1/z