mercurial/pure/parsers.py
changeset 48873 5aafc3c5bdec
parent 48769 1bb62821f080
child 48875 6000f5b25c9b
--- a/mercurial/pure/parsers.py	Sun Feb 20 14:52:40 2022 -0700
+++ b/mercurial/pure/parsers.py	Sun Feb 20 15:03:26 2022 -0700
@@ -7,6 +7,7 @@
 
 from __future__ import absolute_import
 
+import io
 import stat
 import struct
 import zlib
@@ -26,7 +27,7 @@
 from ..revlogutils import nodemap as nodemaputil
 from ..revlogutils import constants as revlog_constants
 
-stringio = pycompat.bytesio
+stringio = io.BytesIO
 
 
 _pack = struct.pack