Show More
@@ -976,7 +976,7 b' class revlog:' | |||||
976 |
|
976 | |||
977 | @util.propertycache |
|
977 | @util.propertycache | |
978 | def _compressor(self): |
|
978 | def _compressor(self): | |
979 | engine = util.compengines[self._compengine] |
|
979 | engine = util.compengines[self.feature_config.compression_engine] | |
980 | return engine.revlogcompressor(self._compengineopts) |
|
980 | return engine.revlogcompressor(self._compengineopts) | |
981 |
|
981 | |||
982 | @util.propertycache |
|
982 | @util.propertycache |
@@ -330,7 +330,9 b' def default_docket(revlog, version_heade' | |||||
330 | rl_version = version_header & 0xFFFF |
|
330 | rl_version = version_header & 0xFFFF | |
331 | if rl_version not in (constants.REVLOGV2, constants.CHANGELOGV2): |
|
331 | if rl_version not in (constants.REVLOGV2, constants.CHANGELOGV2): | |
332 | return None |
|
332 | return None | |
333 |
comp = util.compengines[ |
|
333 | comp = util.compengines[ | |
|
334 | revlog.feature_config.compression_engine | |||
|
335 | ].revlogheader() | |||
334 | docket = RevlogDocket( |
|
336 | docket = RevlogDocket( | |
335 | revlog, |
|
337 | revlog, | |
336 | version_header=version_header, |
|
338 | version_header=version_header, |
General Comments 0
You need to be logged in to leave comments.
Login now