##// END OF EJS Templates
matchers: use correct method for finding index in vector...
matchers: use correct method for finding index in vector The path matcher has an optimization for when all paths are `rootfilesin:`. This optimization exists in both Python and Rust. However, the Rust implementation currently has a bug that makes it fail in most cases. The bug is that it `rfind()` where it was clearly intended to use `rposition()`. This patch fixes that and adds a test.
Martin von Zweigbergk -
r52167:bec6e9c1 default
Show More
Name Size Modified Last Commit Author
/ mercurial / cext
__init__.py Loading ...
base85.c Loading ...
base85.pyi Loading ...
bdiff.c Loading ...
bdiff.pyi Loading ...
charencode.c Loading ...
charencode.h Loading ...
dirs.c Loading ...
manifest.c Loading ...
mpatch.c Loading ...
mpatch.pyi Loading ...
osutil.c Loading ...
osutil.pyi Loading ...
parsers.c Loading ...
parsers.pyi Loading ...
pathencode.c Loading ...
py.typed Loading ...
revlog.c Loading ...
revlog.h Loading ...
util.h Loading ...