Show More
@@ -1125,6 +1125,12 b' class revlog(object):' | |||||
1125 | % (self.indexfile, revornode)) |
|
1125 | % (self.indexfile, revornode)) | |
1126 |
|
1126 | |||
1127 | def checkinlinesize(self, tr, fp=None): |
|
1127 | def checkinlinesize(self, tr, fp=None): | |
|
1128 | """Check if the revlog is too big for inline and convert if so. | |||
|
1129 | ||||
|
1130 | This should be called after revisions are added to the revlog. If the | |||
|
1131 | revlog has grown too large to be an inline revlog, it will convert it | |||
|
1132 | to use multiple index and data files. | |||
|
1133 | """ | |||
1128 | if not self._inline or (self.start(-2) + self.length(-2)) < _maxinline: |
|
1134 | if not self._inline or (self.start(-2) + self.length(-2)) < _maxinline: | |
1129 | return |
|
1135 | return | |
1130 |
|
1136 |
General Comments 0
You need to be logged in to leave comments.
Login now