##// END OF EJS Templates
revlog: subclass the new `repository.iverifyproblem` Protocol class...
revlog: subclass the new `repository.iverifyproblem` Protocol class This is the same transformation as 3a90a6fd710d did for dirstate, but the CamelCase naming was already cleaned up here. We shouldn't have to explicitly subclass, but I'm doing so to test the interplay of regular attributes and the `attrs` class. Also, PyCharm has a nifty feature that puts a jump point in the gutter to navigate back and forth between the base class and subclasses (and override functions and base class functions) when there's an explicit subclassing. Additionally, PyCharm will immediately flag signature mismatches without a 40m pytype run.

File last commit:

r51224:edcc35a4 stable
r53365:4ef6dbc2 default
Show More
test-status-committed-and-ignored.t
33 lines | 621 B | text/troff | Tads3Lexer
/ tests / test-status-committed-and-ignored.t
#testcases dirstate-v1 dirstate-v2
#if dirstate-v2
$ cat >> $HGRCPATH << EOF
> [format]
> use-dirstate-v2=1
> [storage]
> dirstate-v2.slow-path=allow
> EOF
#endif
$ rm -rf r
$ hg init r
$ cd r
$ mkdir d1
$ mkdir d2
$ touch d1/f d2/f
$ hg commit -Am '.'
adding d1/f
adding d2/f
$ echo 'syntax:re' >> .hgignore
$ echo '^d1$' >> .hgignore
$ hg commit -Am "ignore d1"
adding .hgignore
Now d1 is a directory that's both committed and ignored.
Untracked files in d2 are still shown, but ones in d1 are ignored:
$ touch d1/g
$ touch d2/g
$ RAYON_NUM_THREADS=1 hg status
? d2/g