Show More
@@ -212,10 +212,10 b' def _pushbundle2(pushop):' | |||
|
212 | 212 | # create reply capability |
|
213 | 213 | capsblob = bundle2.encodecaps(pushop.repo.bundle2caps) |
|
214 | 214 | bundler.newpart('b2x:replycaps', data=capsblob) |
|
215 | extrainfo = _pushbundle2extraparts(pushop, bundler) | |
|
215 | 216 | # Send known heads to the server for race detection. |
|
216 | 217 | if not pushop.force: |
|
217 | 218 | bundler.newpart('B2X:CHECK:HEADS', data=iter(pushop.remoteheads)) |
|
218 | extrainfo = _pushbundle2extraparts(pushop, bundler) | |
|
219 | 219 | # add the changegroup bundle |
|
220 | 220 | cg = changegroup.getlocalbundle(pushop.repo, 'push', pushop.outgoing) |
|
221 | 221 | cgpart = bundler.newpart('B2X:CHANGEGROUP', data=cg.getchunks()) |
General Comments 0
You need to be logged in to leave comments.
Login now