Show More
@@ -260,7 +260,7 moderncaps = { | |||||
260 | legacycaps = moderncaps.union({b'changegroupsubset'}) |
|
260 | legacycaps = moderncaps.union({b'changegroupsubset'}) | |
261 |
|
261 | |||
262 |
|
262 | |||
263 | class LocalCommandExecutor: |
|
263 | class localcommandexecutor: # (repository.ipeercommandexecutor) | |
264 | def __init__(self, peer): |
|
264 | def __init__(self, peer): | |
265 | self._peer = peer |
|
265 | self._peer = peer | |
266 | self._sent = False |
|
266 | self._sent = False | |
@@ -305,15 +305,6 class LocalCommandExecutor: | |||||
305 | self._closed = True |
|
305 | self._closed = True | |
306 |
|
306 | |||
307 |
|
307 | |||
308 | localcommandexecutor = interfaceutil.implementer( |
|
|||
309 | repository.ipeercommandexecutor |
|
|||
310 | )(LocalCommandExecutor) |
|
|||
311 |
|
||||
312 | if typing.TYPE_CHECKING: |
|
|||
313 | # Help pytype by hiding the interface stuff that confuses it. |
|
|||
314 | localcommandexecutor = LocalCommandExecutor |
|
|||
315 |
|
||||
316 |
|
||||
317 | class LocalPeer(repository.peer): |
|
308 | class LocalPeer(repository.peer): | |
318 | '''peer for a local repo; reflects only the most recent API''' |
|
309 | '''peer for a local repo; reflects only the most recent API''' | |
319 |
|
310 |
General Comments 0
You need to be logged in to leave comments.
Login now