Mercurial > hg
comparison mercurial/filemerge.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 | ac7aa96e4cd8 |
children | 458f7294dfee |
comparison
equal
deleted
inserted
replaced
31841:9ff5a124d111 | 31842:c130d092042a |
---|