D1926: exchange: send bundle2 stream clones uncompressed

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Mon Jan 22 16:02:32 UTC 2018


lothiraldan added inline comments.

INLINE COMMENTS

> bundle2.py:605
> +        # consumers that the bundle is best left uncompressed.
> +        self.preferuncompressed = False
>  

The double-negation (prefer**un**compressed = **False**) sounds complicated. Some other parts of the code are also using `uncompressed` but maybe we could use `prefercompressed = True` here as an improvement.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list