# HG changeset patch # User Augie Fackler # Date 1456868276 18000 # Node ID d549cbb5503d483c4f60a50dc47bc173a1720e30 # Parent 3b67f27bb908fb420beaa58e9f0a7d4a2195a844 peer: raise NotImplementedError for abstract submit() method Nothing should ever call this submit method directly as it should be overridden by concrete batcher implementations. diff -r 3b67f27bb908 -r d549cbb5503d mercurial/peer.py --- 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'''