D3393: bundle: introduce per-engine compression level

joerg.sonnenberger (Joerg Sonnenberger) phabricator at mercurial-scm.org
Tue Apr 17 10:54:38 EDT 2018


joerg.sonnenberger added a comment.


  I don't really disagree that the existing option naming is a bit stupid. There are useful points for including the compression level as part of the bundle spec, but I don't think that replaces the need for a config option for sane defaults.
  As I said on IRC, a consistent approach for the three places where compression is used would be useful:
  
  - standalone "hg bundle" operations
  - wire compression
  - reflog compression
  
  We currently don't allow tuning for the latter two, even though trade-offs between (write) performance and space make a lot of sense. As such, having a uniform mechanism for specifying the compression level sounds like a good idea.

REPOSITORY
  rHG Mercurial

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

To: joerg.sonnenberger, #hg-reviewers
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list