This is an archive of the discontinued Mercurial Phabricator instance.

tests: show invalid copies when turning off copies-in-changeset
ClosedPublic

Authored by martinvonz on Aug 20 2019, 12:29 PM.

Details

Summary

If you turn on copies in changesets and write a commit with a copy,
then turn it off and amend the commit while undoing the copy, the
invalid copy information will remain. The read path doesn't crash in
invalid copy data, but it seems better to not produce the invalid
data.

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.Aug 20 2019, 12:29 PM
martinvonz retitled this revision from test: show invalid copies when turning off copies-in-changeset to tests: show invalid copies when turning off copies-in-changeset.
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.