Mercurial > hg
comparison hgweb.cgi @ 50981:58390f59826f
rust-config: fix fallback to default not parsing the default value
When a config item's default is a string, it sometimes needs to be parsed
into another type, like in the case of `cmdserver.max-log-size`, that returns
a number of bytes from a human-readable amount like `25MB`.
The logic for the fix is explained inline.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 09 Aug 2023 15:41:18 +0200 |
parents | d5cd1fd690f3 |
children |
comparison
equal
deleted
inserted
replaced
50980:d7b2701f17fa | 50981:58390f59826f |
---|