##// END OF EJS Templates
revlog: synchronise the various attribute holding the index filename...
marmoute -
r51982:c2c24b6b default
parent child Browse files
Show More
@@ -358,7 +358,7 b' class _InnerRevlog:'
358 self.opener = opener
358 self.opener = opener
359 self.index = index
359 self.index = index
360
360
361 self.index_file = index_file
361 self.__index_file = index_file
362 self.data_file = data_file
362 self.data_file = data_file
363 self.sidedata_file = sidedata_file
363 self.sidedata_file = sidedata_file
364 self.inline = inline
364 self.inline = inline
@@ -381,6 +381,16 b' class _InnerRevlog:'
381 self.data_config.chunk_cache_size,
381 self.data_config.chunk_cache_size,
382 )
382 )
383
383
384 @property
385 def index_file(self):
386 return self.__index_file
387
388 @index_file.setter
389 def index_file(self, new_index_file):
390 self.__index_file = new_index_file
391 if self.inline:
392 self._segmentfile.filename = new_index_file
393
384 # Derived from index values.
394 # Derived from index values.
385
395
386 def start(self, rev):
396 def start(self, rev):
General Comments 0
You need to be logged in to leave comments. Login now