##// 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
/ rust / hg-core / src / utils
debug.rs Loading ...
files.rs Loading ...
hg_path.rs Loading ...
path_auditor.rs Loading ...