Show More
@@ -475,10 +475,7 b' class cg3unpacker(cg2unpacker):' | |||
|
475 | 475 | def _unpackmanifests(self, repo, revmap, trp, prog, numchanges): |
|
476 | 476 | super(cg3unpacker, self)._unpackmanifests(repo, revmap, trp, prog, |
|
477 | 477 | numchanges) |
|
478 | while True: | |
|
479 | chunkdata = self.filelogheader() | |
|
480 | if not chunkdata: | |
|
481 | break | |
|
478 | for chunkdata in iter(self.filelogheader, {}): | |
|
482 | 479 | # If we get here, there are directory manifests in the changegroup |
|
483 | 480 | d = chunkdata["filename"] |
|
484 | 481 | repo.ui.debug("adding %s revisions\n" % d) |
@@ -1012,10 +1009,7 b' def changegroup(repo, basenodes, source)' | |||
|
1012 | 1009 | def _addchangegroupfiles(repo, source, revmap, trp, expectedfiles, needfiles): |
|
1013 | 1010 | revisions = 0 |
|
1014 | 1011 | files = 0 |
|
1015 | while True: | |
|
1016 | chunkdata = source.filelogheader() | |
|
1017 | if not chunkdata: | |
|
1018 | break | |
|
1012 | for chunkdata in iter(source.filelogheader, {}): | |
|
1019 | 1013 | files += 1 |
|
1020 | 1014 | f = chunkdata["filename"] |
|
1021 | 1015 | repo.ui.debug("adding %s revisions\n" % f) |
General Comments 0
You need to be logged in to leave comments.
Login now