mercurial/wireproto.py
changeset 36107 957e773614d0
parent 36105 caca3ac2ac04
child 36108 90ca4986616c
--- a/mercurial/wireproto.py	Wed Feb 07 20:20:11 2018 -0800
+++ b/mercurial/wireproto.py	Wed Feb 07 20:24:22 2018 -0800
@@ -1023,7 +1023,7 @@
                                       hint=bundle2requiredhint)
 
                 r = exchange.unbundle(repo, gen, their_heads, 'serve',
-                                      proto._client())
+                                      proto.client())
                 if util.safehasattr(r, 'addpart'):
                     # The return looks streamable, we are in the bundle2 case
                     # and should return a stream.