Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 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 | 8a73132214a3 |
children | 6a7ff5816c5f |
comparison
equal
deleted
inserted
replaced
37709:7b2955624777 | 37710:0a5fe2a08e82 |
---|---|
942 default=False, | 942 default=False, |
943 ) | 943 ) |
944 coreconfigitem('server', 'zliblevel', | 944 coreconfigitem('server', 'zliblevel', |
945 default=-1, | 945 default=-1, |
946 ) | 946 ) |
947 coreconfigitem('server', 'zstdlevel', | |
948 default=3, | |
949 ) | |
947 coreconfigitem('share', 'pool', | 950 coreconfigitem('share', 'pool', |
948 default=None, | 951 default=None, |
949 ) | 952 ) |
950 coreconfigitem('share', 'poolnaming', | 953 coreconfigitem('share', 'poolnaming', |
951 default='identity', | 954 default='identity', |