Show More
@@ -358,7 +358,7 b' class cg1packer(object):' | |||
|
358 | 358 | '''yield a sequence of changegroup chunks (strings)''' |
|
359 | 359 | repo = self._repo |
|
360 | 360 | cl = self._changelog |
|
361 |
m |
|
|
361 | ml = self._manifest | |
|
362 | 362 | reorder = self._reorder |
|
363 | 363 | progress = self._progress |
|
364 | 364 | |
@@ -396,7 +396,7 b' class cg1packer(object):' | |||
|
396 | 396 | def lookupmf(x): |
|
397 | 397 | clnode = mfs[x] |
|
398 | 398 | if not fastpathlinkrev or reorder: |
|
399 |
mdata = m |
|
|
399 | mdata = ml.readfast(x) | |
|
400 | 400 | for f, n in mdata.iteritems(): |
|
401 | 401 | if f in changedfiles: |
|
402 | 402 | # record the first changeset introducing this filelog |
@@ -407,9 +407,9 b' class cg1packer(object):' | |||
|
407 | 407 | fclnodes[n] = clnode |
|
408 | 408 | return clnode |
|
409 | 409 | |
|
410 |
mfnodes = self.prune(m |
|
|
410 | mfnodes = self.prune(ml, mfs, commonrevs) | |
|
411 | 411 | size = 0 |
|
412 |
for chunk in self.group(mfnodes, m |
|
|
412 | for chunk in self.group(mfnodes, ml, lookupmf, units=_('manifests'), | |
|
413 | 413 | reorder=reorder): |
|
414 | 414 | size += len(chunk) |
|
415 | 415 | yield chunk |
General Comments 0
You need to be logged in to leave comments.
Login now