changeset 37710:0a5fe2a08e82

configitems: register server.zstdlevel Somehow, I managed to trigger a devel-warn running `hg serve` outside the test suite on one of the repos generated by running test-lfs-serve-access.t --keep. (I'm not hitting it now after doing a `make local`.) The only reference to this in all of the history is the help text added in e75463e3179f, and the translations. (It looks like the string is built dynamically with '%slevel', which is probably how this was missed. I wonder if this isn't getting routed to error.log for some reason.) In any event, server.zliblevel is registered, and that's required to pick up the documented default.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 15 Apr 2018 22:28:03 -0400
parents 7b2955624777
children 65a23cc8e75b
files mercurial/configitems.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Sat Apr 14 00:13:08 2018 -0700
+++ b/mercurial/configitems.py	Sun Apr 15 22:28:03 2018 -0400
@@ -944,6 +944,9 @@
 coreconfigitem('server', 'zliblevel',
     default=-1,
 )
+coreconfigitem('server', 'zstdlevel',
+    default=3,
+)
 coreconfigitem('share', 'pool',
     default=None,
 )