[PATCH] py3: handle os.environ case

Pulkit Goyal 7895pulkit at gmail.com
Wed Sep 28 12:11:33 EDT 2016


Okay then I will wait for your patches to land rather than doing it myself.

On Wed, Sep 28, 2016 at 9:39 PM, Yuya Nishihara <yuya at tcha.org> wrote:
> On Wed, 28 Sep 2016 21:16:09 +0530, Pulkit Goyal wrote:
>> > I tried to implement this TODO. We need encoding.tolocal() to build a bytes
>> > dict from unicode os.environ without losing round-trip utf-8 data, but
>> > pycompat.py shouldn't import mercurial.* modules. So I'm thinking of adding
>> > encoding.environ instead of pycompat.environ.
>> >
>> > We'll also need to fix a couple of str/unicode issues in encoding.py to
>> > make that actually work.
>>
>> Okay I will work in this direction and come up with a patch.
>
> I have working patches which aren't ready to patchbomb. I think I can send
> some of them tomorrow.


More information about the Mercurial-devel mailing list