mercurial/peer.py
changeset 33765 e2fc2122029c
parent 29216 ead25aa27a43
child 33766 4c706037adef
--- a/mercurial/peer.py	Wed Aug 09 21:51:45 2017 -0700
+++ b/mercurial/peer.py	Wed Aug 09 22:52:05 2017 -0700
@@ -78,9 +78,6 @@
 
     @batchable
     def sample(self, one, two=None):
-        # Handle locally computable results first:
-        if not one:
-            yield "a local result", None
         # Build list of encoded arguments suitable for your wire protocol:
         encargs = [('one', encode(one),), ('two', encode(two),)]
         # Create future for injection of encoded result: