Show More
@@ -448,7 +448,7 b' def _pushb2ctx(pushop, bundler):' | |||||
448 | b2caps = bundle2.bundle2caps(pushop.remote) |
|
448 | b2caps = bundle2.bundle2caps(pushop.remote) | |
449 | version = None |
|
449 | version = None | |
450 | cgversions = b2caps.get('b2x:changegroup') |
|
450 | cgversions = b2caps.get('b2x:changegroup') | |
451 | if cgversions is None: |
|
451 | if not cgversions: # 3.1 and 3.2 ship with an empty value | |
452 | cg = changegroup.getlocalchangegroupraw(pushop.repo, 'push', |
|
452 | cg = changegroup.getlocalchangegroupraw(pushop.repo, 'push', | |
453 | pushop.outgoing) |
|
453 | pushop.outgoing) | |
454 | else: |
|
454 | else: | |
@@ -1200,7 +1200,7 b' def _getbundlechangegrouppart(bundler, r' | |||||
1200 | # build changegroup bundle here. |
|
1200 | # build changegroup bundle here. | |
1201 | version = None |
|
1201 | version = None | |
1202 | cgversions = b2caps.get('b2x:changegroup') |
|
1202 | cgversions = b2caps.get('b2x:changegroup') | |
1203 | if cgversions is None: |
|
1203 | if not cgversions: # 3.1 and 3.2 ship with an empty value | |
1204 | cg = changegroup.getchangegroupraw(repo, source, heads=heads, |
|
1204 | cg = changegroup.getchangegroupraw(repo, source, heads=heads, | |
1205 | common=common, |
|
1205 | common=common, | |
1206 | bundlecaps=bundlecaps) |
|
1206 | bundlecaps=bundlecaps) |
General Comments 0
You need to be logged in to leave comments.
Login now