Show More
@@ -350,7 +350,7 b' class cg1packer(object):' | |||||
350 | yield self.close() |
|
350 | yield self.close() | |
351 |
|
351 | |||
352 | # filter any nodes that claim to be part of the known set |
|
352 | # filter any nodes that claim to be part of the known set | |
353 |
def prune(self, revlog, missing, commonrevs |
|
353 | def prune(self, revlog, missing, commonrevs): | |
354 | rr, rl = revlog.rev, revlog.linkrev |
|
354 | rr, rl = revlog.rev, revlog.linkrev | |
355 | return [n for n in missing if rl(rr(n)) not in commonrevs] |
|
355 | return [n for n in missing if rl(rr(n)) not in commonrevs] | |
356 |
|
356 | |||
@@ -407,7 +407,7 b' class cg1packer(object):' | |||||
407 | fclnodes[n] = clnode |
|
407 | fclnodes[n] = clnode | |
408 | return clnode |
|
408 | return clnode | |
409 |
|
409 | |||
410 |
mfnodes = self.prune(mf, mfs, commonrevs |
|
410 | mfnodes = self.prune(mf, mfs, commonrevs) | |
411 | size = 0 |
|
411 | size = 0 | |
412 | for chunk in self.group(mfnodes, mf, lookupmf, units=_('manifests'), |
|
412 | for chunk in self.group(mfnodes, mf, lookupmf, units=_('manifests'), | |
413 | reorder=reorder): |
|
413 | reorder=reorder): | |
@@ -460,7 +460,7 b' class cg1packer(object):' | |||||
460 | def lookupfilelog(x): |
|
460 | def lookupfilelog(x): | |
461 | return linkrevnodes[x] |
|
461 | return linkrevnodes[x] | |
462 |
|
462 | |||
463 |
filenodes = self.prune(filerevlog, linkrevnodes, commonrevs |
|
463 | filenodes = self.prune(filerevlog, linkrevnodes, commonrevs) | |
464 | if filenodes: |
|
464 | if filenodes: | |
465 | progress(msgbundling, i + 1, item=fname, unit=msgfiles, |
|
465 | progress(msgbundling, i + 1, item=fname, unit=msgfiles, | |
466 | total=total) |
|
466 | total=total) |
General Comments 0
You need to be logged in to leave comments.
Login now