##// END OF EJS Templates
exchange: prepare kwargs for bundle2 part generation exactly once
Mike Edgar -
r23218:0e78ea8e default
parent child Browse files
Show More
@@ -1182,10 +1182,11 b' def getbundle(repo, source, heads=None, '
1182 b2caps.update(bundle2.decodecaps(blob))
1182 b2caps.update(bundle2.decodecaps(blob))
1183 bundler = bundle2.bundle20(repo.ui, b2caps)
1183 bundler = bundle2.bundle20(repo.ui, b2caps)
1184
1184
1185 kwargs['heads'] = heads
1186 kwargs['common'] = common
1187
1185 for name in getbundle2partsorder:
1188 for name in getbundle2partsorder:
1186 func = getbundle2partsmapping[name]
1189 func = getbundle2partsmapping[name]
1187 kwargs['heads'] = heads
1188 kwargs['common'] = common
1189 func(bundler, repo, source, bundlecaps=bundlecaps, b2caps=b2caps,
1190 func(bundler, repo, source, bundlecaps=bundlecaps, b2caps=b2caps,
1190 **kwargs)
1191 **kwargs)
1191
1192
General Comments 0
You need to be logged in to leave comments. Login now