Page MenuHomePhabricator

cmdutil: make checknotesize() work on str-keyed opts
ClosedPublic

Authored by martinvonz on Jun 10 2021, 7:21 PM.

Details

Summary

Since this patch changes the behavior of the function, I consider it a
bonus if the signature also changes so that extensions can detect
which version they're dealing with (for the record, I don't have any
such extensions). Therefore, I also dropped an unused ui argument
and renamed the function to use snake_case.

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.