Show More
@@ -1267,7 +1267,7 b' class revlog(object):' | |||||
1267 | # the amount of I/O we need to do. |
|
1267 | # the amount of I/O we need to do. | |
1268 | # - 'compresseddeltalen' is the sum of the total size of deltas we need |
|
1268 | # - 'compresseddeltalen' is the sum of the total size of deltas we need | |
1269 | # to apply -- bounding it limits the amount of CPU we consume. |
|
1269 | # to apply -- bounding it limits the amount of CPU we consume. | |
1270 |
if (d is None or dist > textlen * |
|
1270 | if (d is None or dist > textlen * 4 or l > textlen or | |
1271 | compresseddeltalen > textlen * 2 or |
|
1271 | compresseddeltalen > textlen * 2 or | |
1272 | (self._maxchainlen and chainlen > self._maxchainlen)): |
|
1272 | (self._maxchainlen and chainlen > self._maxchainlen)): | |
1273 | text = buildtext() |
|
1273 | text = buildtext() |
General Comments 0
You need to be logged in to leave comments.
Login now