diff mercurial/bdiff_module.c @ 30622:ce36fa9b140c

py3: make sure encoding.encoding is a bytes variable encoding.encoding returns unicodes when locale.getpreferredencoding() is used to get the preferred encoding. This patch fixes that.
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 17 Dec 2016 23:55:25 +0530
parents 7c0c722d568d
children 08ecec297521
line wrap: on
line diff