pull: abort pull --update if config requires destination (
issue5528)
tests: move update requiredest test to own test file
More tests for this flag are coming in upcoming patches.
py3: add pycompat.unicode and add it to importer
On python 3, builtins.unicode does not exist.
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.