config: use the new '_unset' value for 'configpath'
This should let 'configpath' delegate all special processing of the default
config value to the main 'config' method.
--- a/mercurial/ui.py Sat Jun 17 12:54:45 2017 +0200
+++ b/mercurial/ui.py Sat Jun 17 12:52:02 2017 +0200
@@ -493,7 +493,7 @@
return main, sub
- def configpath(self, section, name, default=None, untrusted=False):
+ def configpath(self, section, name, default=_unset, untrusted=False):
'get a path config item, expanded relative to repo root or config file'
v = self.config(section, name, default, untrusted)
if v is None: