D5561: revlog: always enable generaldelta on version 2 revlogs

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sat Jan 12 22:24:36 EST 2019


yuja added a comment.


  > - 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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5561

To: indygreg, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list