diff mercurial/templater.py @ 31842:c130d092042a

py3: add a bytes version of urllib.parse.urlencode() to pycompat.py urllib.parse.urlencode() returns unicodes on Python 3. This commit adds a method which will take its output and encode it to bytes so that we can use bytes consistently.
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 07 Apr 2017 16:00:44 +0530
parents e6eb86b154c5
children f0d719e513fc
line wrap: on
line diff