This is an archive of the discontinued Mercurial Phabricator instance.

tests: demonstrate crash when committing subset of copies to changeset
ClosedPublic

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

Details

Summary

When writing copy metadata to the changeset and not committing all
copies in the dirstate, we get a ProgrammingError. This commit adds
two tests showing how to trigger this bug.

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
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.