Show More
@@ -432,7 +432,7 b' class changelog(revlog.revlog):' | |||||
432 | self._delaybuf = None |
|
432 | self._delaybuf = None | |
433 | self._divert = False |
|
433 | self._divert = False | |
434 | # split when we're done |
|
434 | # split when we're done | |
435 |
self.c |
|
435 | self._enforceinlinesize(tr) | |
436 |
|
436 | |||
437 | def _writepending(self, tr): |
|
437 | def _writepending(self, tr): | |
438 | "create a file containing the unfinalized state for pretxnchangegroup" |
|
438 | "create a file containing the unfinalized state for pretxnchangegroup" | |
@@ -458,9 +458,9 b' class changelog(revlog.revlog):' | |||||
458 |
|
458 | |||
459 | return False |
|
459 | return False | |
460 |
|
460 | |||
461 |
def c |
|
461 | def _enforceinlinesize(self, tr, fp=None): | |
462 | if not self._delayed: |
|
462 | if not self._delayed: | |
463 |
revlog.revlog.c |
|
463 | revlog.revlog._enforceinlinesize(self, tr, fp) | |
464 |
|
464 | |||
465 | def read(self, node): |
|
465 | def read(self, node): | |
466 | """Obtain data from a parsed changelog revision. |
|
466 | """Obtain data from a parsed changelog revision. |
@@ -1834,7 +1834,7 b' class revlog(object):' | |||||
1834 | raise RevlogError(_("integrity check failed on %s:%s") |
|
1834 | raise RevlogError(_("integrity check failed on %s:%s") | |
1835 | % (self.indexfile, pycompat.bytestr(revornode))) |
|
1835 | % (self.indexfile, pycompat.bytestr(revornode))) | |
1836 |
|
1836 | |||
1837 |
def c |
|
1837 | def _enforceinlinesize(self, tr, fp=None): | |
1838 | """Check if the revlog is too big for inline and convert if so. |
|
1838 | """Check if the revlog is too big for inline and convert if so. | |
1839 |
|
1839 | |||
1840 | This should be called after revisions are added to the revlog. If the |
|
1840 | This should be called after revisions are added to the revlog. If the | |
@@ -2145,7 +2145,7 b' class revlog(object):' | |||||
2145 | ifh.write(entry) |
|
2145 | ifh.write(entry) | |
2146 | ifh.write(data[0]) |
|
2146 | ifh.write(data[0]) | |
2147 | ifh.write(data[1]) |
|
2147 | ifh.write(data[1]) | |
2148 |
self.c |
|
2148 | self._enforceinlinesize(transaction, ifh) | |
2149 |
|
2149 | |||
2150 | def addgroup(self, deltas, linkmapper, transaction, addrevisioncb=None): |
|
2150 | def addgroup(self, deltas, linkmapper, transaction, addrevisioncb=None): | |
2151 | """ |
|
2151 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now