##// 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 / rhg / src / commands
cat.rs Loading ...
config.rs Loading ...
debugdata.rs Loading ...
debugignorerhg.rs Loading ...
debugrequirements.rs Loading ...
debugrhgsparse.rs Loading ...
files.rs Loading ...
root.rs Loading ...
status.rs Loading ...