--- a/mercurial/localrepo.py Fri Apr 13 11:08:46 2018 -0700
+++ b/mercurial/localrepo.py Wed Apr 11 16:18:26 2018 -0700
@@ -66,7 +66,6 @@
txnutil,
util,
vfs as vfsmod,
- wireprotov1peer,
)
from .utils import (
procutil,
@@ -154,20 +153,6 @@
'unbundle'}
legacycaps = moderncaps.union({'changegroupsubset'})
-class localiterbatcher(wireprotov1peer.iterbatcher):
- def __init__(self, local):
- super(localiterbatcher, self).__init__()
- self.local = local
-
- def submit(self):
- # submit for a local iter batcher is a noop
- pass
-
- def results(self):
- for name, args, opts, resref in self.calls:
- resref.set(getattr(self.local, name)(*args, **opts))
- yield resref.value
-
@zi.implementer(repository.ipeercommandexecutor)
class localcommandexecutor(object):
def __init__(self, peer):
@@ -333,9 +318,6 @@
def commandexecutor(self):
return localcommandexecutor(self)
- def iterbatch(self):
- return localiterbatcher(self)
-
# End of peer interface.
class locallegacypeer(repository.legacypeer, localpeer):