##// END OF EJS Templates
rhg: Port Python’s `ui.configlist` as `Config::get_list`...
rhg: Port Python’s `ui.configlist` as `Config::get_list` This new method is not used yet outside of its own unit tests, so this changeset should make no observable change. The Rust parser implementation attempts to exactly replicate the behavior of the Python one, even in edge cases where that behavior is… surprising. New unit tests capture some of these edge cases. This started as a line-by-line port. The main changes are: * Pass around a parser mode enum instead of parser functions * Inline the whole parser into one function * Use `[u8]::get` which returns an `Option`, instead of indexing after explicitly checking the length. Differential Revision: https://phab.mercurial-scm.org/D11389

File last commit:

r48165:bd88b6bf default
r48762:6961eca0 default
Show More
dirstate_tree.rs
5 lines | 101 B | application/rls-services+xml | RustLexer
Simon Sapin
dirstate-tree: Empty shell for a second Rust DirstateMap implementation...
r47865 pub mod dirstate_map;
Simon Sapin
dirstate-tree: Make Rust DirstateMap bindings go through a trait object...
r47863 pub mod dispatch;
Simon Sapin
dirstate-v2: Change the on-disk format when the requirement is enabled...
r48055 pub mod on_disk;
Simon Sapin
dirstate-tree: Add `WithBasename` wrapper for `HgPath`...
r47866 pub mod path_with_basename;
Simon Sapin
rhg: Add support for dirstate-v2...
r48165 pub mod status;