##// END OF EJS Templates
exchange: expand usage of getchangegroupraw...
Pierre-Yves David -
r25504:60f4e702 default
parent child Browse files
Show More
@@ -1294,10 +1294,10 b' def _getbundlechangegrouppart(bundler, r'
1294 if not cgversions:
1294 if not cgversions:
1295 raise ValueError(_('no common changegroup version'))
1295 raise ValueError(_('no common changegroup version'))
1296 version = getcgkwargs['version'] = max(cgversions)
1296 version = getcgkwargs['version'] = max(cgversions)
1297 cg = changegroup.getchangegroupraw(repo, source, heads=heads,
1297 outgoing = changegroup.computeoutgoing(repo, heads, common)
1298 common=common,
1298 cg = changegroup.getlocalchangegroupraw(repo, source, outgoing,
1299 bundlecaps=bundlecaps,
1299 bundlecaps=bundlecaps,
1300 **getcgkwargs)
1300 **getcgkwargs)
1301
1301
1302 if cg:
1302 if cg:
1303 part = bundler.newpart('changegroup', data=cg)
1303 part = bundler.newpart('changegroup', data=cg)
General Comments 0
You need to be logged in to leave comments. Login now