Submitter | Gregory Szorc |
---|---|
Date | March 1, 2015, 11:23 p.m. |
Message ID | <7fc8f6c277f60658bfbc.1425252225@vm-ubuntu-main.gateway.sonic.net> |
Download | mbox | patch |
Permalink | /patch/7871/ |
State | Deferred |
Headers | show |
Comments
Patch
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -188,8 +188,12 @@ class ui(object): for c in self._tcfg, self._ucfg, self._ocfg: for n, p in c.items('paths'): if not p: continue + # Don't normalize sub-option values since they aren't + # paths. + if '.' in n: + continue if '%%' in p: self.warn(_("(deprecated '%%' in path %s=%s from %s)\n") % (n, p, self.configsource('paths', n))) p = p.replace('%%', '%')