mercurial/revlog.py
changeset 30792 4215dc1b708b
parent 30778 1c7368d1a25f
child 30793 b6f455a6e4d6
--- a/mercurial/revlog.py	Sat Jan 07 20:43:49 2017 -0800
+++ b/mercurial/revlog.py	Mon Jan 02 11:50:17 2017 -0800
@@ -1503,7 +1503,7 @@
                 bin = "".join(p)
         else:
             bin = _compress(text)
-        if bin is None or len(bin) > l:
+        if bin is None or len(bin) >= l:
             if text[0] == '\0':
                 return ("", text)
             return ('u', text)