Show More
@@ -1096,6 +1096,13 b' class revlog(object):' | |||||
1096 | d = self.revdiff(a, b) |
|
1096 | d = self.revdiff(a, b) | |
1097 | yield changegroup.chunkheader(len(meta) + len(d)) |
|
1097 | yield changegroup.chunkheader(len(meta) + len(d)) | |
1098 | yield meta |
|
1098 | yield meta | |
|
1099 | if len(d) > 2**20: | |||
|
1100 | pos = 0 | |||
|
1101 | while pos < len(d): | |||
|
1102 | pos2 = pos + 2 ** 18 | |||
|
1103 | yield d[pos:pos2] | |||
|
1104 | pos = pos2 | |||
|
1105 | else: | |||
1099 | yield d |
|
1106 | yield d | |
1100 |
|
1107 | |||
1101 | yield changegroup.closechunk() |
|
1108 | yield changegroup.closechunk() |
General Comments 0
You need to be logged in to leave comments.
Login now