--- a/hgext/fastannotate/protocol.py Thu Dec 05 13:10:17 2024 -0500
+++ b/hgext/fastannotate/protocol.py Thu Dec 05 13:11:41 2024 -0500
@@ -10,7 +10,6 @@
import os
from mercurial.i18n import _
-from mercurial.pycompat import open
from mercurial import (
error,
extensions,
@@ -84,7 +83,7 @@
for p in [actx.revmappath, actx.linelogpath]:
if not os.path.exists(p):
continue
- with open(p, b'rb') as f:
+ with open(p, 'rb') as f:
content = f.read()
vfsbaselen = len(repo.vfs.base + b'/')
relpath = p[vfsbaselen:]