Page MenuHomePhabricator

copies: filter out copies when target is not in destination manifest
ClosedPublic

Authored by martinvonz on Feb 20 2019, 7:27 PM.

Details

Summary

When chaining a series of commits that copied a file with a series
that removed the destination file, we would still include the copy in
the result. Similar to the previous patch, I have checked that `hg
status --copies` is not affected by this bug, but I wouldn't be
surprised if some commands are.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.