# HG changeset patch # User Pierre-Yves David # Date 2020-12-02 14:37:54 # Node ID 021925827c60b2f7b25488103ffc3f03b658e476 # Parent 7d99614b7b778f00998716c050ae3fed60dbd5b5 copies-rust: record overwrite when merging When detecting fresh value (from current rev) overwriting older ones during merges, we also record this overwrite for to help potential future comparison. This does really have any performance effect right now, but it get use closer to be able to drop all `is_ancestors` when merging. Differential Revision: https://phab.mercurial-scm.org/D9499 diff --git a/rust/hg-core/src/copy_tracing.rs b/rust/hg-core/src/copy_tracing.rs --- a/rust/hg-core/src/copy_tracing.rs +++ b/rust/hg-core/src/copy_tracing.rs @@ -731,11 +731,13 @@ fn compare_value