( )⚙ D9077 tests: demonstrate crash caused by pinning of non-existent mergestate node

This is an archive of the discontinued Mercurial Phabricator instance.

tests: demonstrate crash caused by pinning of non-existent mergestate node
ClosedPublic

Authored by martinvonz on Sep 23 2020, 7:10 PM.

Details

Summary

If the mergestate somehow contains a reference to a non-existent node,
it causes most commands to crash since aaeccdb6e654 (repoview: pin
revisions for local and other when a merge is active,
2020-09-04). This patch adds a test showing that.

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

martinvonz created this revision.Sep 23 2020, 7:10 PM

Reminder that this is meant for the stable branch

pulkit accepted this revision.Sep 24 2020, 2:53 AM
This revision is now accepted and ready to land.Sep 24 2020, 2:53 AM