--- a/mercurial/localrepo.py Wed Oct 23 16:48:46 2024 -0400
+++ b/mercurial/localrepo.py Wed Oct 23 16:51:18 2024 -0400
@@ -260,7 +260,7 @@
legacycaps = moderncaps.union({b'changegroupsubset'})
-class LocalCommandExecutor:
+class localcommandexecutor: # (repository.ipeercommandexecutor)
def __init__(self, peer):
self._peer = peer
self._sent = False
@@ -305,15 +305,6 @@
self._closed = True
-localcommandexecutor = interfaceutil.implementer(
- repository.ipeercommandexecutor
-)(LocalCommandExecutor)
-
-if typing.TYPE_CHECKING:
- # Help pytype by hiding the interface stuff that confuses it.
- localcommandexecutor = LocalCommandExecutor
-
-
class LocalPeer(repository.peer):
'''peer for a local repo; reflects only the most recent API'''