hgext/churn.py
changeset 52393 10f98d358f6c
parent 51859 f4733654f144
child 52559 5502109ac769
--- a/hgext/churn.py	Thu Dec 05 13:15:44 2024 -0500
+++ b/hgext/churn.py	Thu Dec 05 13:17:18 2024 -0500
@@ -15,7 +15,6 @@
 import time
 
 from mercurial.i18n import _
-from mercurial.pycompat import open
 from mercurial import (
     cmdutil,
     encoding,
@@ -207,7 +206,7 @@
     if not aliases and os.path.exists(repo.wjoin(b'.hgchurn')):
         aliases = repo.wjoin(b'.hgchurn')
     if aliases:
-        for l in open(aliases, b"rb"):
+        for l in open(aliases, "rb"):
             try:
                 alias, actual = l.rsplit(b'=' in l and b'=' or None, 1)
                 amap[alias.strip()] = actual.strip()