Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/mod.rs @ 51232:456e0fe702e8
rust-index: honour incoming using_general_delta in `deltachain`
It looks to be a leftover from some past, but the C index considers
only the value passed from Python whereas up to now the Rust index
was using the value of its attribute.
As a middle ground, we make this argument of `deltachain` optional from
the Python side, with the Rust implementation only defaulting to its
attribute. This way, we reduce false leads when a difference in results
is spotted.
author | Georges Racinet on incendie.racinet.fr <georges@racinet.fr> |
---|---|
date | Fri, 27 Oct 2023 23:21:50 +0200 |
parents | 7434747343ab |
children | 83de5a06f6eb |