--- a/mercurial/cffi/mpatchbuild.py Sun Oct 06 09:45:02 2019 -0400
+++ b/mercurial/cffi/mpatchbuild.py Sun Oct 06 09:48:39 2019 -0400
@@ -5,11 +5,11 @@
ffi = cffi.FFI()
mpatch_c = os.path.join(
- os.path.join(os.path.dirname(__file__), '..', 'mpatch.c')
+ os.path.join(os.path.dirname(__file__), b'..', b'mpatch.c')
)
with open(mpatch_c) as f:
ffi.set_source(
- "mercurial.cffi._mpatch", f.read(), include_dirs=["mercurial"]
+ b"mercurial.cffi._mpatch", f.read(), include_dirs=[b"mercurial"]
)
ffi.cdef(
"""