This is an archive of the discontinued Mercurial Phabricator instance.

mergestate: remove unnecessary recordactions() from mergestate class
ClosedPublic

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

Details

Summary

This function is updating dirstate which sounds like not something which a
method on mergestate class should do. Also this just calls another function.
Lets directly call that function and remove this reducing mergestate
responsibility a bit.

There was single caller which is updated.

Diff Detail

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

Event Timeline

pulkit created this revision.Jul 14 2020, 8:30 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.