##// END OF EJS Templates
changegroup: don't define lookupmf() until it is needed...
Gregory Szorc -
r23224:f4ab47cc stable
parent child Browse files
Show More
@@ -330,6 +330,14 b' class cg1packer(object):'
330 330 mfs.setdefault(c[0], x)
331 331 return x
332 332
333 for chunk in self.group(clnodes, cl, lookupcl, units=_('changesets'),
334 reorder=reorder):
335 yield chunk
336 progress(msgbundling, None)
337
338 for f in changedfiles:
339 fnodes[f] = {}
340
333 341 # Callback for the manifest, used to collect linkrevs for filelog
334 342 # revisions.
335 343 # Returns the linkrev node (collected in lookupcl).
@@ -344,13 +352,6 b' class cg1packer(object):'
344 352 fnodes[f].setdefault(n, clnode)
345 353 return clnode
346 354
347 for chunk in self.group(clnodes, cl, lookupcl, units=_('changesets'),
348 reorder=reorder):
349 yield chunk
350 progress(msgbundling, None)
351
352 for f in changedfiles:
353 fnodes[f] = {}
354 355 mfnodes = self.prune(mf, mfs, commonrevs, source)
355 356 for chunk in self.group(mfnodes, mf, lookupmf, units=_('manifests'),
356 357 reorder=reorder):
General Comments 0
You need to be logged in to leave comments. Login now