rust-dirstate-map: use a more precise identity
This is closer to the behavior of what Python does. So far, we were checking only the inode, but this might not be good enough for the v1 case.
Showing
- mercurial/dirstatemap.py 26 additions, 14 deletionsmercurial/dirstatemap.py
- rust/hg-core/src/dirstate_tree/dirstate_map.rs 67 additions, 3 deletionsrust/hg-core/src/dirstate_tree/dirstate_map.rs
- rust/hg-core/src/dirstate_tree/on_disk.rs 3 additions, 1 deletionrust/hg-core/src/dirstate_tree/on_disk.rs
- rust/hg-core/src/dirstate_tree/owning.rs 8 additions, 5 deletionsrust/hg-core/src/dirstate_tree/owning.rs
- rust/hg-core/src/repo.rs 9 additions, 7 deletionsrust/hg-core/src/repo.rs
- rust/hg-cpython/src/dirstate.rs 3 additions, 3 deletionsrust/hg-cpython/src/dirstate.rs
- rust/hg-cpython/src/dirstate/dirstate_map.rs 45 additions, 5 deletionsrust/hg-cpython/src/dirstate/dirstate_map.rs
Loading
Please register or sign in to comment