This is an archive of the discontinued Mercurial Phabricator instance.

merge: remove no longer required ACTION_GET_OTHER_AND_STORE
ClosedPublic

Authored by pulkit on Jul 14 2020, 8:31 AM.

Details

Summary

In 1b8fd4af33189c84feadb47c74d659ec31cde3b9 I (ab)used merge actions to pass
info from manifestmerge() to applyupdates() and store info in mergestate.

In previous patches, we introduced a separate return value from manifestmerge()
and calculateupdates() and an argument to applyupdates() which achieved the same
thing.

Let's remove this no longer required messy code.

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

pulkit created this revision.Jul 14 2020, 8:31 AM
pulkit updated this revision to Diff 22065.Jul 23 2020, 10:12 AM
indygreg accepted this revision.Aug 2 2020, 12:51 PM
indygreg added a subscriber: indygreg.

I agree that this action was a bit wonky and this is a useful cleanup!

This revision is now accepted and ready to land.Aug 2 2020, 12:51 PM