[PATCH 8 of 8 py3 v3] policy: try and always have a bytes for module policy
Augie Fackler
raf at durin42.com
Fri Mar 10 17:49:09 EST 2017
> On Mar 8, 2017, at 22:44, Pulkit Goyal <7895pulkit at gmail.com> wrote:
>
> # Environment variable can always force settings.
> policy = os.environ.get('HGMODULEPOLICY', policy)
>
> We need to use encoding.environ here for bytes consistency, otherwise passing bytes here will result in error.
But we can't, can we? Is it possible for us to have that dependency here?
More information about the Mercurial-devel
mailing list