diff -r 764adc332f6e -r 10fcfb615fb4 mercurial/exchange.py --- a/mercurial/exchange.py Tue Jul 15 23:34:13 2014 +0900 +++ b/mercurial/exchange.py Wed Jul 02 14:09:24 2014 +0200 @@ -212,10 +212,10 @@ # create reply capability capsblob = bundle2.encodecaps(pushop.repo.bundle2caps) bundler.newpart('b2x:replycaps', data=capsblob) + extrainfo = _pushbundle2extraparts(pushop, bundler) # Send known heads to the server for race detection. if not pushop.force: bundler.newpart('B2X:CHECK:HEADS', data=iter(pushop.remoteheads)) - extrainfo = _pushbundle2extraparts(pushop, bundler) # add the changegroup bundle cg = changegroup.getlocalbundle(pushop.repo, 'push', pushop.outgoing) cgpart = bundler.newpart('B2X:CHANGEGROUP', data=cg.getchunks())