mercurial/revlog.py
changeset 23284 8d47c212b0dd
parent 23255 76effa770ff9
child 23285 6cc1f388ac80
--- a/mercurial/revlog.py	Wed Nov 05 13:06:24 2014 +0000
+++ b/mercurial/revlog.py	Tue Nov 11 21:39:56 2014 -0800
@@ -1255,7 +1255,7 @@
         else:
             textlen = len(text)
         if (d is None or dist > textlen * 2 or
-            self._maxchainlen and chainlen > self._maxchainlen):
+            (self._maxchainlen and chainlen > self._maxchainlen)):
             text = buildtext()
             data = self.compress(text)
             l = len(data[1]) + len(data[0])