This is an archive of the discontinued Mercurial Phabricator instance.

merge: change default of hg.merge()'s "force" argument from None to False
ClosedPublic

Authored by martinvonz on Feb 26 2020, 2:14 PM.

Details

Summary

The argument is only passed to mergemode.update(), and that function
treats None just like False, so False seems clearer.

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.