This is an archive of the discontinued Mercurial Phabricator instance.

commands: switch one call of check_at_most_one_arg to strings

Authored by durin42 on Mar 4 2020, 2:22 PM.



This opts hasn't been through the byteskwargs mulcher, so we can just use
strings here instead of bytes. Fixes the test changes from D8204 on Python 3,
which was the only place this was a problem.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Mar 4 2020, 2:22 PM
marmoute accepted this revision.Mar 4 2020, 2:40 PM
marmoute added a subscriber: marmoute.

If the test are happy. I am happy with.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.