Show More
@@ -594,12 +594,12 b' def consumev2(repo, fp, filecount, files' | |||
|
594 | 594 | for vfs in vfsmap.values()) |
|
595 | 595 | with nested(*ctxs): |
|
596 | 596 | for i in range(filecount): |
|
597 |
src = fp |
|
|
597 | src = util.readexactly(fp, 1) | |
|
598 | 598 | vfs = vfsmap[src] |
|
599 | 599 | namelen = util.uvarintdecodestream(fp) |
|
600 | 600 | datalen = util.uvarintdecodestream(fp) |
|
601 | 601 | |
|
602 |
name = fp |
|
|
602 | name = util.readexactly(fp, namelen) | |
|
603 | 603 | |
|
604 | 604 | if repo.ui.debugflag: |
|
605 | 605 | repo.ui.debug('adding [%s] %s (%s)\n' % |
General Comments 0
You need to be logged in to leave comments.
Login now