diff mercurial/peer.py @ 30892:441705506d24

py3: convert os.__file__ to bytes os.__file__ returns unicode path on Python 3. We need to have bytespath. This patch uses pycompat.fsencode() to encode unicode path to bytes path.
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 07 Feb 2017 22:47:24 +0530
parents ead25aa27a43
children e2fc2122029c
line wrap: on
line diff