##// END OF EJS Templates
changelog: drop the side_write argument to revlog splitting...
marmoute -
r52210:5b3b6db4 default
parent child Browse files
Show More
@@ -387,9 +387,9 b' class changelog(revlog.revlog):'
387 tr.registertmp(new_index)
387 tr.registertmp(new_index)
388 return any_pending
388 return any_pending
389
389
390 def _enforceinlinesize(self, tr, side_write=True):
390 def _enforceinlinesize(self, tr):
391 if not self.is_delaying:
391 if not self.is_delaying:
392 revlog.revlog._enforceinlinesize(self, tr, side_write=side_write)
392 revlog.revlog._enforceinlinesize(self, tr)
393
393
394 def read(self, nodeorrev):
394 def read(self, nodeorrev):
395 """Obtain data from a parsed changelog revision.
395 """Obtain data from a parsed changelog revision.
@@ -2827,7 +2827,7 b' class revlog:'
2827 # manifest), no risk of collision.
2827 # manifest), no risk of collision.
2828 return self.radix + b'.i.s'
2828 return self.radix + b'.i.s'
2829
2829
2830 def _enforceinlinesize(self, tr, side_write=True):
2830 def _enforceinlinesize(self, tr):
2831 """Check if the revlog is too big for inline and convert if so.
2831 """Check if the revlog is too big for inline and convert if so.
2832
2832
2833 This should be called after revisions are added to the revlog. If the
2833 This should be called after revisions are added to the revlog. If the
@@ -2857,7 +2857,6 b' class revlog:'
2857 tr.add(self._datafile, 0)
2857 tr.add(self._datafile, 0)
2858
2858
2859 new_index_file_path = None
2859 new_index_file_path = None
2860 if side_write:
2861 old_index_file_path = self._indexfile
2860 old_index_file_path = self._indexfile
2862 new_index_file_path = self._split_index_file
2861 new_index_file_path = self._split_index_file
2863 opener = self.opener
2862 opener = self.opener
General Comments 0
You need to be logged in to leave comments. Login now