# HG changeset patch # User Matt Harbison # Date 1729716678 14400 # Node ID ff4562ed9ed77a33cbb34b31a8983e6fb1fb3ac8 # Parent 33f255bf19d9c9f5b3452c45f7cb1e7783afd08f localrepo: drop the CamelCase name for `localrepo.localcommandexecutor` See 61557734c0ae for the reasoning. diff -r 33f255bf19d9 -r ff4562ed9ed7 mercurial/localrepo.py --- 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'''