This is an archive of the discontinued Mercurial Phabricator instance.

mergestate: simplify reset(), knowing that `other` and `node` go together
ClosedPublic

Authored by martinvonz on Sep 17 2020, 4:10 PM.

Details

Summary

There's only one caller of reset() that passes any arguments at all,
and that originates from merge.py:1371. That code always passes
values for both node and other.

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.