comparison mercurial/manifest.py @ 51026:498afb627f78

revlog: move configuration attribute into dedicated object First this make things clearer as the number of configuration attributes has grown out of control, so gathering them make things clearer. Second, this will make future sharing them at different level simpler. Third it will allow us to make initialisation and temporary override simpler soon.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Oct 2023 10:02:05 +0200
parents 14de15825253
children 861fe9273d57
comparison
equal deleted inserted replaced
51025:f70ce1aedbcb 51026:498afb627f78
1612 upperboundcomp=MAXCOMPRESSION, 1612 upperboundcomp=MAXCOMPRESSION,
1613 persistentnodemap=opener.options.get(b'persistent-nodemap', False), 1613 persistentnodemap=opener.options.get(b'persistent-nodemap', False),
1614 ) 1614 )
1615 1615
1616 self.index = self._revlog.index 1616 self.index = self._revlog.index
1617 self._generaldelta = self._revlog._generaldelta 1617 self._generaldelta = self._revlog.delta_config.general_delta
1618 1618
1619 def get_revlog(self): 1619 def get_revlog(self):
1620 """return an actual revlog instance if any 1620 """return an actual revlog instance if any
1621 1621
1622 This exist because a lot of code leverage the fact the underlying 1622 This exist because a lot of code leverage the fact the underlying