We seem to always convert **opts args to use bytes as keys early on in
Mercurial core, but I'm not sure we have good reason to do that, and
not all extensions do that. It's therefore helpful to be able to pass
in a native string to check_at_most_one_arg().
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG6c8108274dc5: cmdutil: allow native string as input to check_at_most_one_arg()
Diff Detail
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.
Event Timeline
Comment Actions
I hope one day we have a clear understanding of what is bytes and what is not in core.