Show More
@@ -324,6 +324,7 class changelog(revlog.revlog): | |||||
324 |
|
324 | |||
325 | self._format_flags &= ~revlog.FLAG_GENERALDELTA |
|
325 | self._format_flags &= ~revlog.FLAG_GENERALDELTA | |
326 | self.delta_config.general_delta = False |
|
326 | self.delta_config.general_delta = False | |
|
327 | self.data_config.generaldelta = False | |||
327 |
|
328 | |||
328 | # Delta chains for changelogs tend to be very small because entries |
|
329 | # Delta chains for changelogs tend to be very small because entries | |
329 | # tend to be small and don't delta well with each. So disable delta |
|
330 | # tend to be small and don't delta well with each. So disable delta |
@@ -1647,6 +1647,7 class revlog: | |||||
1647 | self.delta_config.general_delta = features[b'generaldelta']( |
|
1647 | self.delta_config.general_delta = features[b'generaldelta']( | |
1648 | self._format_flags |
|
1648 | self._format_flags | |
1649 | ) |
|
1649 | ) | |
|
1650 | self.data_config.generaldelta = self.delta_config.general_delta | |||
1650 | self.feature_config.has_side_data = features[b'sidedata'] |
|
1651 | self.feature_config.has_side_data = features[b'sidedata'] | |
1651 |
|
1652 | |||
1652 | if not features[b'docket']: |
|
1653 | if not features[b'docket']: | |
@@ -1677,6 +1678,7 class revlog: | |||||
1677 | self._inline = False |
|
1678 | self._inline = False | |
1678 | # generaldelta implied by version 2 revlogs. |
|
1679 | # generaldelta implied by version 2 revlogs. | |
1679 | self.delta_config.general_delta = True |
|
1680 | self.delta_config.general_delta = True | |
|
1681 | self.data_config.generaldelta = True | |||
1680 | # the logic for persistent nodemap will be dealt with within the |
|
1682 | # the logic for persistent nodemap will be dealt with within the | |
1681 | # main docket, so disable it for now. |
|
1683 | # main docket, so disable it for now. | |
1682 | self._nodemap_file = None |
|
1684 | self._nodemap_file = None |
General Comments 0
You need to be logged in to leave comments.
Login now