Show More
@@ -33,6 +33,8 b' REVLOG_DEFAULT_VERSION = REVLOG_DEFAULT_' | |||
|
33 | 33 | |
|
34 | 34 | _prereadsize = 1048576 |
|
35 | 35 | |
|
36 | _maxinline = 131072 # max size of revlog with inline data | |
|
37 | ||
|
36 | 38 | RevlogError = error.RevlogError |
|
37 | 39 | LookupError = error.LookupError |
|
38 | 40 | |
@@ -1036,7 +1038,7 b' class revlog(object):' | |||
|
1036 | 1038 | return text |
|
1037 | 1039 | |
|
1038 | 1040 | def checkinlinesize(self, tr, fp=None): |
|
1039 |
if not self._inline or (self.start(-2) + self.length(-2)) < |
|
|
1041 | if not self._inline or (self.start(-2) + self.length(-2)) < _maxinline: | |
|
1040 | 1042 | return |
|
1041 | 1043 | |
|
1042 | 1044 | trinfo = tr.find(self.indexfile) |
General Comments 0
You need to be logged in to leave comments.
Login now