HomePhabricator

py3: make setup.py's hgcommand() consistently return bytes

Authored by martinvonz.

Description

py3: make setup.py's hgcommand() consistently return bytes

Before this patch, it returned unicode when the command failed. That
made e.g. make local PYTHON=python3 fail on an obsolete commit.

Differential Revision: https://phab.mercurial-scm.org/D8331