D5561: revlog: always enable generaldelta on version 2 revlogs

Yuya Nishihara yuya at tcha.org
Sat Jan 12 22:03:25 EST 2019


> -        if self._initempty:
> -            # changelogs don't benefit from generaldelta
> +        if self._initempty and (self.version & 0xFFFF == revlog.REVLOGV1):
> +            # changelogs don't benefit from generaldelta.

Perhaps, `debugdeltachain()` and `debugrevlog()` has to be updated as well.
They peek `.version` attribute.


More information about the Mercurial-devel mailing list