mercurial/ui.py
changeset 29412 b62bce819d0c
parent 29378 fea71f66ebff
child 29413 31d3ab7985b8
--- a/mercurial/ui.py	Sat Jun 25 07:26:43 2016 -0700
+++ b/mercurial/ui.py	Sat Jun 25 18:35:14 2016 -0700
@@ -228,6 +228,9 @@
             root = root or os.getcwd()
             for c in self._tcfg, self._ucfg, self._ocfg:
                 for n, p in c.items('paths'):
+                    # Ignore sub-options.
+                    if ':' in n:
+                        continue
                     if not p:
                         continue
                     if '%%' in p: