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