( )⚙ D6323 tests: demonstrate that rename is followed to wrong parent from merge

This is an archive of the discontinued Mercurial Phabricator instance.

tests: demonstrate that rename is followed to wrong parent from merge
ClosedPublic

Authored by martinvonz on Apr 28 2019, 3:00 AM.

Details

Summary

This test case shows another way that copies are handled differently
between hg st (pathcopies()) and hg co -m (mergecopies). The
reason is that pathcopies() calls _tracefiles(), which checks that the
file nodeid of an ancestor matches the file nodeid in the base
commit. mergecopies() should probably be doing the same.

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.

Event Timeline

martinvonz created this revision.Apr 28 2019, 3:00 AM
This revision was automatically updated to reflect the committed changes.