mercurial/revlog.py
changeset 23288 2b9bc7963504
parent 23287 426d7f901789
child 23306 f7a42f8e82bd
--- a/mercurial/revlog.py	Tue Nov 11 20:01:19 2014 -0800
+++ b/mercurial/revlog.py	Tue Nov 11 20:08:19 2014 -0800
@@ -1267,7 +1267,7 @@
         #   the amount of I/O we need to do.
         # - 'compresseddeltalen' is the sum of the total size of deltas we need
         #   to apply -- bounding it limits the amount of CPU we consume.
-        if (d is None or dist > textlen * 2 or l > textlen or
+        if (d is None or dist > textlen * 4 or l > textlen or
             compresseddeltalen > textlen * 2 or
             (self._maxchainlen and chainlen > self._maxchainlen)):
             text = buildtext()