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

Authored by martinvonz on Thu, Mar 14, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
martinvonz created this revision.Thu, Mar 14, 5:50 PM
pulkit accepted this revision.Fri, Mar 15, 9:34 AM
This revision was automatically updated to reflect the committed changes.