This is an archive of the discontinued Mercurial Phabricator instance.

filemerge: remove `uselocalpath` argument from `_maketempfiles()`
ClosedPublic

Authored by martinvonz on Feb 15 2022, 11:09 PM.

Details

Summary

The localpath argument is unused if uselocalpath is false, so we
can use None as a sentinel value for the variable instead and remove
extra uselocalpath argument. That's not much of a win, but it's a
small step towards further improvements.

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.