Submitter | Pierre-Yves David |
---|---|
Date | June 18, 2017, 6:55 p.m. |
Message ID | <11f995470103d355c41e.1497812114@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/21483/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -536,7 +536,7 @@ class ui(object): raise error.ConfigError(_("%s.%s is not a valid %s ('%s')") % (section, name, desc, v)) - def configint(self, section, name, default=None, untrusted=False): + def configint(self, section, name, default=_unset, untrusted=False): """parse a configuration element as an integer >>> u = ui(); s = 'foo'