( )⚙ D6133 rebase: fix crash with in-memory rebase and copies

This is an archive of the discontinued Mercurial Phabricator instance.

rebase: fix crash with in-memory rebase and copies
ClosedPublic

Authored by martinvonz on Mar 14 2019, 5:50 PM.

Details

Summary

When using regular on-disk rebase, filectx.markcopies() calls to
dirstate.copy(), which happily records the copy. Then it's simply
ignored if it doesn't matter for the commit (as in the test case I
added in the previous patch). Let's do the same for overlayworkingctx.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Mar 14 2019, 5:50 PM
pulkit accepted this revision.Mar 15 2019, 9:34 AM
This revision was automatically updated to reflect the committed changes.