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