diff mercurial/patch.py @ 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 e1677cc29da6
children d1901c4c8ec0
line wrap: on
line diff