##// END OF EJS Templates
revlog: simplify a conditionnal in _enforceinlinesize...
marmoute -
r47938:88bd08a6 default
parent child Browse files
Show More
@@ -1956,10 +1956,8 b' class revlog(object):'
1956 to use multiple index and data files.
1956 to use multiple index and data files.
1957 """
1957 """
1958 tiprev = len(self) - 1
1958 tiprev = len(self) - 1
1959 if (
1959 total_size = self.start(tiprev) + self.length(tiprev)
1960 not self._inline
1960 if not self._inline or total_size < _maxinline:
1961 or (self.start(tiprev) + self.length(tiprev)) < _maxinline
1962 ):
1963 return
1961 return
1964
1962
1965 troffset = tr.findoffset(self._indexfile)
1963 troffset = tr.findoffset(self._indexfile)
General Comments 0
You need to be logged in to leave comments. Login now