Mercurial > hg
comparison mercurial/mdiff.py @ 30668:3fcaf0f660ce
py3: have bytes version of sys.executable
sys.executable on Python 3 returns unicodes and we want bytes. So this patch
adds a new pycompat.sysexecutable which returns bytes by encoding using
os.fsencode() since it is path variable.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 20 Dec 2016 00:02:24 +0530 |
parents | ff17dff99295 |
children | 3eeb8e138e5c |
comparison
equal
deleted
inserted
replaced
30667:5861bdbeb9a3 | 30668:3fcaf0f660ce |
---|