mercurial/exchange.py
branchstable
changeset 34910 498697fe41f2
parent 34836 537de0b14030
child 35039 d7a4384d2d87
--- a/mercurial/exchange.py	Thu Oct 19 15:15:05 2017 -0500
+++ b/mercurial/exchange.py	Thu Oct 19 21:50:14 2017 +0200
@@ -813,9 +813,9 @@
     hasphaseheads = 'heads' in b2caps.get('phases', ())
 
     if hasphaseheads and not legacyphase:
-        _pushb2phaseheads(pushop, bundler)
+        return _pushb2phaseheads(pushop, bundler)
     elif haspushkey:
-        _pushb2phasespushkey(pushop, bundler)
+        return _pushb2phasespushkey(pushop, bundler)
 
 def _pushb2phaseheads(pushop, bundler):
     """push phase information through a bundle2 - binary part"""