This is an archive of the discontinued Mercurial Phabricator instance.

merge: pass mergeresult obj in _forgetremoved() (API)
ClosedPublic

Authored by pulkit on Aug 5 2020, 8:12 AM.

Details

Summary

Instead of returning a dict of actions and then updating it, let's pass the
object directly and update it there.

This makes updateactions() on mergeresult unused and this patch removes that.

After this patch, we have couple of methods left on mergeresult class which
still exposes the internal dict based action storage.

Diff Detail

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

Event Timeline

pulkit created this revision.Aug 5 2020, 8:12 AM
indygreg accepted this revision.Aug 8 2020, 12:34 PM
This revision is now accepted and ready to land.Aug 8 2020, 12:34 PM
This revision was automatically updated to reflect the committed changes.