Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 34246:344fd1fe237b
configitems: register the 'web.encoding' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:45:44 +0200 |
parents | a6c18628dff1 |
children | c97a750c28a5 |
line wrap: on
line diff
--- a/mercurial/configitems.py Fri Jun 30 03:45:43 2017 +0200 +++ b/mercurial/configitems.py Fri Jun 30 03:45:44 2017 +0200 @@ -10,6 +10,7 @@ import functools from . import ( + encoding, error, ) @@ -618,6 +619,9 @@ coreconfigitem('web', 'description', default="", ) +coreconfigitem('web', 'encoding', + default=lambda: encoding.encoding, +) coreconfigitem('worker', 'backgroundclose', default=dynamicdefault, )