peer: raise NotImplementedError for abstract submit() method
Nothing should ever call this submit method directly as it should be
overridden by concrete batcher implementations.
--- a/mercurial/peer.py Thu Mar 03 14:29:19 2016 +0000
+++ b/mercurial/peer.py Tue Mar 01 16:37:56 2016 -0500
@@ -39,7 +39,7 @@
return resref
return call
def submit(self):
- pass
+ raise NotImplementedError()
class localbatch(batcher):
'''performs the queued calls directly'''