Show More
@@ -63,7 +63,7 b' def getlfile(repo, proto, sha):' | |||||
63 | # ssh proto does for string responses. |
|
63 | # ssh proto does for string responses. | |
64 | def generator(): |
|
64 | def generator(): | |
65 | yield '%d\n' % length |
|
65 | yield '%d\n' % length | |
66 | for chunk in f: |
|
66 | for chunk in util.filechunkiter(f): | |
67 | yield chunk |
|
67 | yield chunk | |
68 | return wireproto.streamres(generator()) |
|
68 | return wireproto.streamres(generator()) | |
69 |
|
69 |
General Comments 0
You need to be logged in to leave comments.
Login now