HomePhabricator

salvaged: properly deal with salvaged file during copy tracing

Authored by marmoute.

Description

salvaged: properly deal with salvaged file during copy tracing

When salvaged files are encountered, the removal have been reverted and we
should keep the rename information from the other side.

The conditional was starting to be quite hairy, so we spell it out in multiple
elif case for readability.

This fixes the associated test cases introduced a while back. The changeset centric copy tracing is now (known) bug free.

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

Details

Committed
marmouteSep 16 2020, 3:00 PM
Differential Revision
D9130: salvaged: properly deal with salvaged file during copy tracing
Parents
rHG55c7edda2c5b: salvaged: persist the salvaged set on disk
Branches
Unknown
Tags
Unknown