Mercurial > hg-stable
changeset 10916:9c84395a338e stable
add documentation for revlog._prereadsize
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Thu, 15 Apr 2010 15:21:21 +0200 |
parents | b7ca37b90762 |
children | bce47e253b61 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlog.py Wed Apr 14 15:06:40 2010 -0400 +++ b/mercurial/revlog.py Thu Apr 15 15:21:21 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