Mercurial > hg
view rust/hg-core/src/dirstate/dirstate_tree.rs @ 46227:5bae4bc9bd42
rust: fix file folding map
The file folding map, frequently used on macOS, had two issues:
* the means for converting it to Python didn't work
* a minor typo when copying the python code, where `!=` became `==`
With this, the rust code passes all tests on macOS.
Test Plan:
I'm currently doing a full test run on a case-insensitive file system. If it passes, perhaps we can change the platform check from an error to a warning?
Differential Revision: https://phab.mercurial-scm.org/D9671
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Wed, 30 Dec 2020 00:14:28 +0100 |
parents | b51167d70f5a |
children |
line wrap: on
line source
// dirstate_tree.rs // // Copyright 2020, Raphaël Gomès <rgomes@octobus.net> // // This software may be used and distributed according to the terms of the // GNU General Public License version 2 or any later version. //! Special-case radix tree that matches a filesystem hierarchy for use in the //! dirstate. //! It has not been optimized at all yet. pub mod iter; pub mod node; pub mod tree;