HomePhabricator

copies-rust: use the entry API to overwrite deleted entry

Authored by marmoute.

Description

copies-rust: use the entry API to overwrite deleted entry

This is more efficient, more idiomatic and more compact.

The main motivation for this change is to cleanup that area before start to do
"overwrite" tracking. Such tracking will ultimately help to avoid costly
is_ancestors call when merging changeset.

Differential Revision: https://phab.mercurial-scm.org/D9494

Details

Committed
marmouteDec 2 2020, 4:51 AM
Differential Revision
D9494: copies-rust: use the entry API to overwrite deleted entry
Parents
rHGc6bc77f7e593: copies-rust: tokenize all paths into integer
Branches
Unknown
Tags
Unknown