Backed out changeset 5f6139ef7c2c (bug 1515261) for causing Windows build bustages CLOSED TREE
authorarthur.iakab <aiakab@mozilla.com>
Fri, 04 Jan 2019 18:29:53 +0200
changeset 509657 8e2d7fcc07f51574c9b48f3641cdae95ae387197
parent 509656 2e4c5ef41c73f76499609a03c08e3d410a610c21
child 509658 227f1a73b16fba34216e1fb408eca5aeefcf8497
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1515261
milestone66.0a1
backs out5f6139ef7c2cc63904a73d6fe8b52031a295784d
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 5f6139ef7c2c (bug 1515261) for causing Windows build bustages CLOSED TREE
python/mozversioncontrol/mozversioncontrol/__init__.py
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
@@ -66,17 +66,17 @@ class Repository(object):
     all methods require this.
     """
 
     __metaclass__ = abc.ABCMeta
 
     def __init__(self, path, tool):
         self.path = os.path.abspath(path)
         self._tool = get_tool_path(tool)
-        self._env = {k.encode('utf8'): v.encode('utf8') for k, v in os.environ.items()}
+        self._env = os.environ.copy()
         self._version = None
         self._valid_diff_filter = ('m', 'a', 'd')
 
     def __enter__(self):
         return self
 
     def __exit__(self, exc_type, exc_value, exc_tb):
         pass