web: use '_unset' default value for proxy config method
This special value is needed to make sure registered default value are taken in
account.
--- a/mercurial/hgweb/hgwebdir_mod.py Sat Sep 16 11:48:05 2017 -0400
+++ b/mercurial/hgweb/hgwebdir_mod.py Fri Sep 15 19:21:08 2017 +0200
@@ -491,7 +491,7 @@
else:
yield config('web', 'motd', '')
- def config(section, name, default=None, untrusted=True):
+ def config(section, name, default=uimod._unset, untrusted=True):
return self.ui.config(section, name, default, untrusted)
self.updatereqenv(req.env)