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 @@ -244,7 +244,7 @@ impl<'a, A: Fn(Revision, Revision) -> bo } /// returns `true` if `anc` is an ancestors of `desc`, `false` otherwise - fn is_ancestor(&mut self, anc: Revision, desc: Revision) -> bool { + fn is_overwrite(&mut self, anc: Revision, desc: Revision) -> bool { if anc > desc { false } else if anc == desc { @@ -705,7 +705,7 @@ fn compare_value