diff -r 897726622877 -r 6a70cf94d1b5 mercurial/pycompat.py --- a/mercurial/pycompat.py Sun Jan 15 16:33:15 2017 +0900 +++ b/mercurial/pycompat.py Sun Jan 15 13:17:05 2017 +0530 @@ -46,7 +46,6 @@ ospathsep = os.pathsep.encode('ascii') ossep = os.sep.encode('ascii') osaltsep = os.altsep - osgetenv = os.getenvb if osaltsep: osaltsep = osaltsep.encode('ascii') # os.getcwd() on Python 3 returns string, but it has os.getcwdb() which @@ -169,7 +168,6 @@ sysargv = sys.argv sysplatform = sys.platform getcwd = os.getcwd - osgetenv = os.getenv sysexecutable = sys.executable shlexsplit = shlex.split