Show More
@@ -210,7 +210,9 b' def _pushbundle2(pushop):' | |||||
210 | capsblob = urllib.unquote(pushop.remote.capable('bundle2')) |
|
210 | capsblob = urllib.unquote(pushop.remote.capable('bundle2')) | |
211 | caps = bundle2.decodecaps(capsblob) |
|
211 | caps = bundle2.decodecaps(capsblob) | |
212 | bundler = bundle2.bundle20(pushop.ui, caps) |
|
212 | bundler = bundle2.bundle20(pushop.ui, caps) | |
213 | bundler.addpart(bundle2.bundlepart('replycaps')) |
|
213 | # create reply capability | |
|
214 | capsblob = bundle2.encodecaps(pushop.repo.bundle2caps) | |||
|
215 | bundler.addpart(bundle2.bundlepart('replycaps', data=capsblob)) | |||
214 | if not pushop.force: |
|
216 | if not pushop.force: | |
215 | part = bundle2.bundlepart('CHECK:HEADS', data=iter(pushop.remoteheads)) |
|
217 | part = bundle2.bundlepart('CHECK:HEADS', data=iter(pushop.remoteheads)) | |
216 | bundler.addpart(part) |
|
218 | bundler.addpart(part) |
General Comments 0
You need to be logged in to leave comments.
Login now