diff mercurial/revlog.py @ 10919:435615a676b0

merge with stable
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 15 Apr 2010 15:35:06 +0200
parents c9543bc6be16 9c84395a338e
children 245a67fe2574
line wrap: on
line diff
--- a/mercurial/revlog.py	Thu Apr 15 15:34:27 2010 +0200
+++ b/mercurial/revlog.py	Thu Apr 15 15:35:06 2010 +0200
@@ -31,9 +31,11 @@
 REVLOG_DEFAULT_FORMAT = REVLOGNG
 REVLOG_DEFAULT_VERSION = REVLOG_DEFAULT_FORMAT | REVLOG_DEFAULT_FLAGS
 
+# amount of data read unconditionally, should be >= 4
+# when not inline: threshold for using lazy index
 _prereadsize = 1048576
-
-_maxinline = 131072                     # max size of revlog with inline data
+# max size of revlog with inline data
+_maxinline = 131072
 
 RevlogError = error.RevlogError
 LookupError = error.LookupError