Page MenuHomePhabricator

copies: make _backwardrenames() filter out copies by destination
ClosedPublic

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

Details

Summary

As shown by the test case, _backwardrenames() doesn't filter by the
matcher. It doesn't show up in hg status --copies because that only
prints files changed between the two commits. I wouldn't be surprised
if some other command that replies on pathcopies() was broken before
this patch, but I haven't bothered to check other commands.

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.