Page MenuHomePhabricator

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

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



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

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

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