This is an archive of the discontinued Mercurial Phabricator instance.

py3: fix handling of keyword arguments at more places
ClosedPublic

Authored by pulkit on Feb 24 2018, 6:19 AM.

Details

Summary

The keys of keyword arguments of Python 3 should be str, which is why we need to
prevent getting the b'' prefix added by the transformer or convert keys to str
using pycompat.strkwargs()

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

pulkit created this revision.Feb 24 2018, 6:19 AM
yuja requested changes to this revision.Feb 24 2018, 7:58 AM
yuja added a subscriber: yuja.
yuja added inline comments.
hgext/rebase.py
597

strkwargs() ?

This revision now requires changes to proceed.Feb 24 2018, 7:58 AM
pulkit updated this revision to Diff 6054.Feb 24 2018, 8:51 AM
yuja accepted this revision.Feb 24 2018, 8:24 PM
This revision is now accepted and ready to land.Feb 24 2018, 8:24 PM
This revision was automatically updated to reflect the committed changes.